php.java.bridge
Interface IDocHandler

All Known Implementing Classes:
Request

public interface IDocHandler

Defines the parser callbacks.

Author:
jostb

Method Summary
 boolean begin(php.java.bridge.ParserTag[] tag)
          Called for each <tag arg1 ... argn>
 php.java.bridge.ParserString createParserString()
          Parser string factory
 void end(php.java.bridge.ParserString[] strings)
          Called for each </tag>
 

Method Detail

begin

boolean begin(php.java.bridge.ParserTag[] tag)
Called for each <tag arg1 ... argn>

Parameters:
tag - The tag and the args.
Returns:
true, if the parser should stop after reading the top-level end tag, false otherwise. Implements a short path: Set this to true, if you already know that the current top-level request doesn't need a reply.

end

void end(php.java.bridge.ParserString[] strings)
Called for each </tag>

Parameters:
strings - The tag and the args.
See Also:
begin(ParserTag[])

createParserString

php.java.bridge.ParserString createParserString()
Parser string factory

Returns:
The parser string