|
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.
GraphMLParseException
event
- The data of the eventvoid onDocumentParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when the document has been fully parsed.
GraphMLParseException
event
- The data of the eventvoid onNodeParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'node' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onNodeParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'node' closing tag has been handled.
GraphMLParseException
event
- The data of the eventvoid onEdgeParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'edge' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onEdgeParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'edge' closing tag has been handled.
GraphMLParseException
event
- The data of the eventvoid onPortParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'port' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onPortParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'port' closing tag has been handled.
GraphMLParseException
event
- The data of the eventvoid onGraphParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graph' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onGraphParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graph' closing tag has been handled.
GraphMLParseException
event
- The data of the eventvoid onGraphMLParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graphml' root-element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onGraphMLParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'graphml' closing tag has been handled.
GraphMLParseException
event
- The data of the eventvoid onDataParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'data' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onDataParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'data' element has been handled.
GraphMLParseException
event
- The data of the eventvoid onKeyParsing(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'key' element has been encountered.
GraphMLParseException
event
- The data of the eventvoid onKeyParsed(ParseEvent event) throws GraphMLParseException
This callback is triggered when a GraphML 'key' element has been handled.
GraphMLParseException
event
- The data of the event
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |