|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParseEventListener
Event listener for the ParseEvent
.
This interface defines the available event callbacks for ParseEvent
s.
Implement this class if you want to be notified of specific steps in the parse process (e.g. when a node element is about
to be parsed, or when parsing the document has just been finished.
Implementations of this interface are usually registered on instances of ParseEventHandler
which are provided by GraphMLParseContext
or GraphMLParser
.
ParseEvent
,
GraphMLParser
,
ParseEventHandler
Method Summary | |
---|---|
void |
onDataParsed(ParseEvent event)
Occurs after a data element has been fully parsed. |
void |
onDataParsing(ParseEvent event)
Occurs when a data element is about to be parsed. |
void |
onDocumentParsed(ParseEvent event)
Occurs when the document has been parsed. |
void |
onDocumentParsing(ParseEvent event)
Occurs when the document is about to be parsed. |
void |
onEdgeParsed(ParseEvent event)
Occurs after a edge element has been fully parsed. |
void |
onEdgeParsing(ParseEvent event)
Occurs when an edge element is about to be parsed. |
void |
onGraphMLParsed(ParseEvent event)
Occurs after the graphml element has been fully parsed. |
void |
onGraphMLParsing(ParseEvent event)
Occurs when the graphml element is about to be parsed. |
void |
onGraphParsed(ParseEvent event)
Occurs after a graph element has been fully parsed. |
void |
onGraphParsing(ParseEvent event)
Occurs when a graph element is about to be parsed. |
void |
onKeyParsed(ParseEvent event)
Occurs after a key element has been fully parsed. |
void |
onKeyParsing(ParseEvent event)
Occurs when a key element is about to be parsed. |
void |
onNodeParsed(ParseEvent event)
Occurs after a node element has been fully parsed. |
void |
onNodeParsing(ParseEvent event)
Occurs when a node element is about to be parsed. |
void |
onPortParsed(ParseEvent event)
Occurs after a port element has been fully parsed. |
void |
onPortParsing(ParseEvent event)
Occurs when a port element is about to be parsed. |
Method Detail |
---|
void onDocumentParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when the document element has been encountered.
event
- The data of the event
GraphMLParseException
void onDocumentParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when the document has been fully parsed.
event
- The data of the event
GraphMLParseException
void onNodeParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'node' element has been encountered.
event
- The data of the event
GraphMLParseException
void onNodeParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'node' closing tag has been handled.
event
- The data of the event
GraphMLParseException
void onEdgeParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'edge' element has been encountered.
event
- The data of the event
GraphMLParseException
void onEdgeParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'edge' closing tag has been handled.
event
- The data of the event
GraphMLParseException
void onPortParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'port' element has been encountered.
event
- The data of the event
GraphMLParseException
void onPortParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'port' closing tag has been handled.
event
- The data of the event
GraphMLParseException
void onGraphParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graph' element has been encountered.
event
- The data of the event
GraphMLParseException
void onGraphParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graph' closing tag has been handled.
event
- The data of the event
GraphMLParseException
void onGraphMLParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graphml' root-element has been encountered.
event
- The data of the event
GraphMLParseException
void onGraphMLParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graphml' closing tag has been handled.
event
- The data of the event
GraphMLParseException
void onDataParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'data' element has been encountered.
event
- The data of the event
GraphMLParseException
void onDataParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'data' element has been handled.
event
- The data of the event
GraphMLParseException
void onKeyParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'key' element has been encountered.
event
- The data of the event
GraphMLParseException
void onKeyParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'key' element has been handled.
event
- The data of the event
GraphMLParseException
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |