Proxy between a MessagePart and a Parser.
ParserPartProxy objects are responsible for ferrying requests from message
parts to a proxy as they're requested, and for maintaining state information
for a parser as necessary.
- author Zaahid Bateson
Abstract
Methods |
public __construct(ZBateson |
public getHeaderContainer() |
public getMessageResourceHandle() |
public getMessageResourceHandlePos() : int |
public getParent() |
public getPart() Returns the IMessagePart associated with this proxy.
|
public getStream() |
public getStreamContentLength() : int |
public getStreamContentStartPos() : ?int |
public getStreamPartLength() : int |
public getStreamPartStartPos() : int |
public isContentParsed() : ?bool |
public isMime() : bool |
public parseAll() Parses everything under this part. For ParserPartProxy, this is just content, but sub-classes may override
|
public parseContent() Requests the parser to parse this part's content, and call The method first checks to see if the content has already been parsed,
|
public setPart(ZBateson Sets the associated part.
|
public setStreamContentStartPos(int $streamContentStartPos)
|
public setStreamPartAndContentEndPos(int $streamContentEndPos)
|
public setStreamPartEndPos(int $streamPartEndPos)
|
public setStreamPartStartPos(int $streamPartStartPos)
|
Properties |
protected $parser = NULL
|
protected $partBuilder = NULL
|
Properties |
private $part = NULL
|