|
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.graph2d.EdgeLabelDeserializer.SmartEdgeLabelModelDeserializer
public static class EdgeLabelDeserializer.SmartEdgeLabelModelDeserializer
Handles deserialization of SmartEdgeLabelModel
instances and their model parameters.
Constructor Summary | |
---|---|
EdgeLabelDeserializer.SmartEdgeLabelModelDeserializer()
|
Method Summary | |
---|---|
protected java.lang.Object |
createModel(org.w3c.dom.Node node,
GraphMLParseContext context)
Creates a SmartEdgeLabelModel with values from the graphML structure. |
protected java.lang.Object |
createParameter(org.w3c.dom.Node node,
GraphMLParseContext context)
Creates a model parameter for a SmartEdgeLabelModel with values from the graphML structure. |
void |
onHandleDeserialization(DeserializationEvent event)
Callback method to handle the deserialization of the data contained in event . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeLabelDeserializer.SmartEdgeLabelModelDeserializer()
Method Detail |
---|
public void onHandleDeserialization(DeserializationEvent event) throws GraphMLParseException
DeserializationHandler
event
.
If this callback could deserialize the data in event
, it should assign the deserialization result to the event's
DeserializationEvent.setResult(Object)
property.
onHandleDeserialization
in interface DeserializationHandler
event
- Event that contains all data that is needed for deserialization.
GraphMLParseException
protected java.lang.Object createParameter(org.w3c.dom.Node node, GraphMLParseContext context)
SmartEdgeLabelModel
with values from the graphML structure.
node
- The node where the model parameter will be setcontext
- The current parse context
protected java.lang.Object createModel(org.w3c.dom.Node node, GraphMLParseContext context)
SmartEdgeLabelModel
with values from the graphML structure.
node
- The node where the model parameter will be setcontext
- The current parse context
SmartEdgeLabelModel
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |