Interface IParserEventsHandler<N,R>
-
- All Known Implementing Classes:
CreateAST_ParserEventHandler,CreateDOM_ParserEventHandler,DoNothing_ParserEventHandler,Logger_ParserEventHandler,Timer_ParserEventHandler,WriteXML_ParserEventHandler
public interface IParserEventsHandler<N,R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RgetResult()voidonComment(java.lang.String comment, N parentNode, TextLocation location)voidonNodeEnd(N node)NonNodeStart(PXMLNode node, N parentNode)voidonRootNodeEnd(N rootNode)NonRootNodeStart(PXMLNode rootNode)voidonStart()voidonStop()voidonText(java.lang.String text, N parentNode, TextLocation location)
-
-
-
Method Detail
-
onStart
void onStart() throws java.lang.Exception- Throws:
java.lang.Exception
-
onStop
void onStop() throws java.lang.Exception- Throws:
java.lang.Exception
-
onRootNodeStart
N onRootNodeStart(PXMLNode rootNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onRootNodeEnd
void onRootNodeEnd(N rootNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onNodeStart
N onNodeStart(PXMLNode node, N parentNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onNodeEnd
void onNodeEnd(N node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onText
void onText(java.lang.String text, N parentNode, TextLocation location) throws java.lang.Exception- Throws:
java.lang.Exception
-
onComment
void onComment(java.lang.String comment, N parentNode, TextLocation location) throws java.lang.Exception- Throws:
java.lang.Exception
-
getResult
R getResult() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-