Search this API

y.io.graphml.input
Class ParseEventListenerAdapter

java.lang.Object
  extended by y.io.graphml.input.ParseEventListenerAdapter
All Implemented Interfaces:
java.util.EventListener, ParseEventListener

public class ParseEventListenerAdapter
extends java.lang.Object
implements ParseEventListener

Stub implementation class for interface ParseEventListener that implements all methods with no-op implementations.

 

Constructor Summary
ParseEventListenerAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseEventListenerAdapter

public ParseEventListenerAdapter()
Method Detail

onDocumentParsing

public void onDocumentParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when the document is about to be parsed.

This callback is triggered when the document element has been encountered.

Specified by:
onDocumentParsing in interface ParseEventListener
Parameters:
event - The data of the event

onDocumentParsed

public void onDocumentParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when the document has been parsed.

This callback is triggered when the document has been fully parsed.

Specified by:
onDocumentParsed in interface ParseEventListener
Parameters:
event - The data of the event

onNodeParsing

public void onNodeParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when a node element is about to be parsed.

This callback is triggered when a GraphML 'node' element has been encountered.

Specified by:
onNodeParsing in interface ParseEventListener
Parameters:
event - The data of the event

onNodeParsed

public void onNodeParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a node element has been fully parsed.

This callback is triggered when a GraphML 'node' closing tag has been handled.

Specified by:
onNodeParsed in interface ParseEventListener
Parameters:
event - The data of the event

onEdgeParsing

public void onEdgeParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when an edge element is about to be parsed.

This callback is triggered when a GraphML 'edge' element has been encountered.

Specified by:
onEdgeParsing in interface ParseEventListener
Parameters:
event - The data of the event

onEdgeParsed

public void onEdgeParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a edge element has been fully parsed.

This callback is triggered when a GraphML 'edge' closing tag has been handled.

Specified by:
onEdgeParsed in interface ParseEventListener
Parameters:
event - The data of the event

onPortParsing

public void onPortParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when a port element is about to be parsed.

This callback is triggered when a GraphML 'port' element has been encountered.

Specified by:
onPortParsing in interface ParseEventListener
Parameters:
event - The data of the event

onPortParsed

public void onPortParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a port element has been fully parsed.

This callback is triggered when a GraphML 'port' closing tag has been handled.

Specified by:
onPortParsed in interface ParseEventListener
Parameters:
event - The data of the event

onGraphParsing

public void onGraphParsing(ParseEvent event)
                    throws GraphMLParseException
Description copied from interface: ParseEventListener
Occurs when a graph element is about to be parsed.

This callback is triggered when a GraphML 'graph' element has been encountered.

Specified by:
onGraphParsing in interface ParseEventListener
Parameters:
event - The data of the event
Throws:
GraphMLParseException

onGraphParsed

public void onGraphParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a graph element has been fully parsed.

This callback is triggered when a GraphML 'graph' closing tag has been handled.

Specified by:
onGraphParsed in interface ParseEventListener
Parameters:
event - The data of the event

onGraphMLParsing

public void onGraphMLParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when the graphml element is about to be parsed.

This callback is triggered when a GraphML 'graphml' root-element has been encountered.

Specified by:
onGraphMLParsing in interface ParseEventListener
Parameters:
event - The data of the event

onGraphMLParsed

public void onGraphMLParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after the graphml element has been fully parsed.

This callback is triggered when a GraphML 'graphml' closing tag has been handled.

Specified by:
onGraphMLParsed in interface ParseEventListener
Parameters:
event - The data of the event

onDataParsing

public void onDataParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when a data element is about to be parsed.

This callback is triggered when a GraphML 'data' element has been encountered.

Specified by:
onDataParsing in interface ParseEventListener
Parameters:
event - The data of the event

onDataParsed

public void onDataParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a data element has been fully parsed.

This callback is triggered when a GraphML 'data' element has been handled.

Specified by:
onDataParsed in interface ParseEventListener
Parameters:
event - The data of the event

onKeyParsing

public void onKeyParsing(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs when a key element is about to be parsed.

This callback is triggered when a GraphML 'key' element has been encountered.

Specified by:
onKeyParsing in interface ParseEventListener
Parameters:
event - The data of the event

onKeyParsed

public void onKeyParsed(ParseEvent event)
Description copied from interface: ParseEventListener
Occurs after a key element has been fully parsed.

This callback is triggered when a GraphML 'key' element has been handled.

Specified by:
onKeyParsed in interface ParseEventListener
Parameters:
event - The data of the event

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.