|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.graph2D.AbstractNodeRealizerSerializer
yext.graphml.graph2D.GenericNodeRealizerSerializer
Serializer for instances of GenericNodeRealizer.
| Constructor Summary | |
GenericNodeRealizerSerializer()
|
|
| Method Summary | |
boolean |
canHandle(Node n,
GraphMLParseContext context)
Default implementation. |
String |
getName()
Returns the name of the XML element tag which denotes this type of realizer. |
String |
getNamespaceURI()
Returns the target namespace of the toplevel element |
Class |
getRealizerClass()
Returns the class of which the realizer is an instance of. |
void |
parse(NodeRealizer realizer,
Node domNode,
GraphMLParseContext context)
Parses the properties from an instance of NodeRealizer. |
protected void |
parseUserData(GenericNodeRealizer gnr,
Node domNode,
GraphMLParseContext context)
Parses the userdata section of this realizer and assigns the user data object. |
void |
write(NodeRealizer realizer,
XmlWriter ipw,
GraphMLWriteContext context)
Writes the properties from an instance of NodeRealizer. |
void |
writeAttributes(NodeRealizer realizer,
XmlWriter writer,
GraphMLWriteContext context)
Writes out the selection state if requested. |
protected void |
writeUserData(GenericNodeRealizer gnr,
XmlWriter writer,
GraphMLWriteContext context)
Writes the userdata section of this realizer and assigns the user data object. |
| Methods inherited from class yext.graphml.graph2D.AbstractNodeRealizerSerializer |
canHandle, createRealizerInstance, getNamespacePrefix, writeFill |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenericNodeRealizerSerializer()
| Method Detail |
public String getName()
NodeRealizerSerializer
public String getNamespaceURI()
NodeRealizerSerializer
public Class getRealizerClass()
NodeRealizerSerializer
public void writeAttributes(NodeRealizer realizer,
XmlWriter writer,
GraphMLWriteContext context)
AbstractNodeRealizerSerializer
writeAttributes in interface NodeRealizerSerializerwriteAttributes in class AbstractNodeRealizerSerializer
public void write(NodeRealizer realizer,
XmlWriter ipw,
GraphMLWriteContext context)
AbstractNodeRealizerSerializerNodeRealizer.
write in interface NodeRealizerSerializerwrite in class AbstractNodeRealizerSerializer
protected void writeUserData(GenericNodeRealizer gnr,
XmlWriter writer,
GraphMLWriteContext context)
public void parse(NodeRealizer realizer,
Node domNode,
GraphMLParseContext context)
AbstractNodeRealizerSerializerNodeRealizer.
parse in interface NodeRealizerSerializerparse in class AbstractNodeRealizerSerializer
public boolean canHandle(Node n,
GraphMLParseContext context)
AbstractNodeRealizerSerializer
canHandle in interface NodeRealizerSerializercanHandle in class AbstractNodeRealizerSerializern - context -
true iff n.getNamespaceURI().equals(getNamespaceURI()) && n.getLocalName().equals(getName()).
protected void parseUserData(GenericNodeRealizer gnr,
Node domNode,
GraphMLParseContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||