|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.output.WriteEventListenerAdapter
public class WriteEventListenerAdapter
Stub implementation class for interface WriteEventListener
that implements
all methods with no-op implementations.
Constructor Summary | |
---|---|
WriteEventListenerAdapter()
|
Method Summary | |
---|---|
void |
onDataWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'data' element has been called. |
void |
onDataWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'data' element
will be called. |
void |
onDocumentWriting(WriteEvent event)
Occurs just after the XmlWriter.writeStartDocument() has been called. |
void |
onDocumentWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndDocument() will be called. |
void |
onEdgeWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'edge' element has been called. |
void |
onEdgeWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'edge' element
will be called. |
void |
onGraphMLWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'graphml' element has been called. |
void |
onGraphMLWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'graphml' element
will be called. |
void |
onGraphWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'graph' element has been called. |
void |
onGraphWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'graph' element
will be called. |
void |
onKeyWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'key' element has been called. |
void |
onKeyWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'key' element
will be called. |
void |
onNodeWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphML 'node' element has been called. |
void |
onNodeWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'node' element
will be called. |
void |
onPortWriting(WriteEvent event)
Occurs right after the XmlWriter.writeStartElement(String,String,String) method
for writing a GraphMl 'port' element has been called. |
void |
onPortWritten(WriteEvent event)
Occurs just before the XmlWriter.writeEndElement() for the GraphML 'port' element
will be called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteEventListenerAdapter()
Method Detail |
---|
public void onDocumentWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartDocument()
has been called.
onDocumentWriting
in interface WriteEventListener
GraphMLWriteException
public void onDocumentWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndDocument()
will be called.
onDocumentWritten
in interface WriteEventListener
GraphMLWriteException
public void onNodeWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphML 'node' element has been called.
At that state, callees can use XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onNodeWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onNodeWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'node' element
will be called.
This can be used to append more custom elements to the node element.
onNodeWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onEdgeWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'edge' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onEdgeWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onEdgeWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'edge' element
will be called.
This can be used to append more custom elements to the edge element.
onEdgeWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onPortWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'port' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onPortWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onPortWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'port' element
will be called.
This can be used to append more custom elements to the port element.
onPortWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onGraphWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'graph' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onGraphWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onGraphWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'graph' element
will be called.
This can be used to append more custom elements to the graph element.
onGraphWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onGraphMLWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'graphml' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onGraphMLWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onGraphMLWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'graphml' element
will be called.
This can be used to append more custom elements to the graphml element.
onGraphMLWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onDataWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'data' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onDataWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onDataWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'data' element
will be called.
This can be used to append more custom elements to the data element.
onDataWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
public void onKeyWriting(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeStartElement(String,String,String)
method
for writing a GraphMl 'key' element has been called.
At that state, callees can use one of XmlWriter
's
writeAttribute
methods to add custom attributes to the XML
element or write a first custom inner element
onKeyWriting
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
XmlWriter.writeAttribute(GraphMLXmlAttribute)
,
XmlWriter.writeAttribute(String, boolean)
,
XmlWriter.writeAttribute(String, double)
,
XmlWriter.writeAttribute(String, long)
,
XmlWriter.writeAttribute(String, String)
,
XmlWriter.writeAttribute(String, String, String, String)
public void onKeyWritten(WriteEvent event) throws GraphMLWriteException
WriteEventListener
XmlWriter.writeEndElement()
for the GraphML 'key' element
will be called.
This can be used to append more custom elements to the key element.
onKeyWritten
in interface WriteEventListener
event
- The event containing all necessary data
GraphMLWriteException
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |