|
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.AbstractNodeRealizerSerializer y.io.graphml.graph2d.GenericNodeRealizerSerializer y.io.graphml.graph2d.GenericGroupNodeRealizerSerializer
public class GenericGroupNodeRealizerSerializer
Serializer for instances of GenericGroupNodeRealizer
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class y.io.graphml.graph2d.GenericNodeRealizerSerializer |
---|
GenericNodeRealizerSerializer.ConfigurationFactory |
Constructor Summary | |
---|---|
GenericGroupNodeRealizerSerializer()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the XML element tag which denotes this type of realizer. |
java.lang.Class |
getRealizerClass()
Returns the class of which the realizer is an instance of. |
void |
parse(NodeRealizer nr,
org.w3c.dom.Node domNode,
GraphMLParseContext context)
Parses the properties into an instance of NodeRealizer . |
void |
write(NodeRealizer nr,
XmlWriter writer,
GraphMLWriteContext context)
Writes the realizer element's content. |
Methods inherited from class y.io.graphml.graph2d.GenericNodeRealizerSerializer |
---|
getNamespaceURI, getObjectStringConverter, parseStyleProperties, parseUserData, writeAttributes, writeStyleProperties, writeUserData |
Methods inherited from class y.io.graphml.graph2d.AbstractNodeRealizerSerializer |
---|
canHandle, canHandle, createRealizerInstance, getNamespacePrefix, parseLabel, parseNodePorts, writeBorder, writeFill, writeNodeLabel, writeNodePorts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericGroupNodeRealizerSerializer()
Method Detail |
---|
public java.lang.String getName()
NodeRealizerSerializer
getName
in interface NodeRealizerSerializer
getName
in class GenericNodeRealizerSerializer
public java.lang.Class getRealizerClass()
NodeRealizerSerializer
getRealizerClass
in interface NodeRealizerSerializer
getRealizerClass
in class GenericNodeRealizerSerializer
public void write(NodeRealizer nr, XmlWriter writer, GraphMLWriteContext context) throws GraphMLWriteException
NodeRealizerSerializer
write
in interface NodeRealizerSerializer
write
in class GenericNodeRealizerSerializer
nr
- The Realizer to write.writer
- The XmlWriter for the serialization.context
- The current write context.
GraphMLWriteException
public void parse(NodeRealizer nr, org.w3c.dom.Node domNode, GraphMLParseContext context) throws GraphMLParseException
NodeRealizerSerializer
NodeRealizer
.
parse
in interface NodeRealizerSerializer
parse
in class GenericNodeRealizerSerializer
nr
- An existing NodeRealizer
instance which is configured.domNode
- The XML node containing the realizer data.context
- The current parse context.
GraphMLParseException
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |