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 R
getResult()
void
onComment(java.lang.String comment, N parentNode, TextLocation location)
void
onNodeEnd(N node)
N
onNodeStart(PXMLNode node, N parentNode)
void
onRootNodeEnd(N rootNode)
N
onRootNodeStart(PXMLNode rootNode)
void
onStart()
void
onStop()
void
onText(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
-
-