|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.input.AbstractDeserializer com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
Abstract subclass of AbstractDeserializer
that provides support for shared references.
Constructor Summary | |
AbstractDeserializer()
|
Method Summary | |
boolean |
canHandle(DeserializationEvent e)
Returns true if DeserializationEvent.getXmlNode() satisfies the properties of this class. |
abstract java.lang.String |
getElementName(GraphMLParseContext context)
The local name that the node must satisfy if it should be deserialized. |
java.lang.String |
getXmlNamespaceURI(GraphMLParseContext context)
The namespace URI that the node must satisfy if it should be deserialized. |
void |
onHandleDeserialization(DeserializationEvent event)
Listen to a serialization event. |
Methods inherited from class y.io.graphml.input.AbstractDeserializer |
deserializeNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractDeserializer()
Method Detail |
public boolean canHandle(DeserializationEvent e)
DeserializationEvent.getXmlNode()
satisfies the properties of this class.
e
- The event data.
true
iff the node should be parsed.getElementName(y.io.graphml.input.GraphMLParseContext)
public void onHandleDeserialization(DeserializationEvent event) throws GraphMLParseException
canHandle(y.io.graphml.input.DeserializationEvent)
returns true
for the supplied event argument, in which case it calls
AbstractDeserializer.deserializeNode(org.w3c.dom.Node , y.io.graphml.input.GraphMLParseContext)
and
sets DeserializationEvent.setResult(java.lang.Object)
.
canHandle(y.io.graphml.input.DeserializationEvent)
returns false
, no action is performed.
Implementation of that handles shared references.
event
- The event to handle
GraphMLParseException
- if something went wrong in the serialization process.public abstract java.lang.String getElementName(GraphMLParseContext context)
canHandle(y.io.graphml.input.DeserializationEvent)
.
context
- The parse context.
public java.lang.String getXmlNamespaceURI(GraphMLParseContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |