cz.kebrt.html2latex
Interface IParserHandler

All Known Implementing Classes:
ParserHandler

public interface IParserHandler

Handles events sent from the Parser class.


Method Summary
 void comment(java.lang.String comment)
          Called when the comment is reached in input document.
 void endDocument()
          Called when the whole input document is read.
 void endElement(ElementEnd element, ElementStart elementStart)
          Called when an end element is reached in the input document.
 void characters(java.lang.String content)
          Called when the text content of an element is read.
 void startElement(ElementStart element)
          Called when a start element is reached in the input document.
 

Method Detail

startElement

void startElement(ElementStart element)
Called when a start element is reached in the input document.

Parameters:
element - start element reached

endElement

void endElement(ElementEnd element,
                ElementStart elementStart)
Called when an end element is reached in the input document.

Parameters:
element - end element reached
elementStart - corresponding start element

characters

void characters(java.lang.String content)
Called when the text content of an element is read.

Parameters:
content - ie. "foo" for the "<b>foo</b>"

comment

void comment(java.lang.String comment)
Called when the comment is reached in input document.

Parameters:
comment - ie. "foo" for the "<!-->foo</-->"

endDocument

void endDocument()
Called when the whole input document is read.