|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecty.io.graphml.output.AbstractSerializer
com.yworks.yfiles.server.graphml.flexio.StyleSerializer
Serializer that delegates writing of style instances to registered SerializationHandler
but does serializes them itself it the style is only a DocumentFragment.
| Constructor Summary | |
StyleSerializer()
|
|
| Method Summary | |
boolean |
canHandle(SerializationEvent e)
Predicate member method to determine whether this instance should react to a given SerializationEvent. |
void |
serializeItem(java.lang.Object item,
XmlWriter writer,
GraphMLWriteContext context)
|
| Methods inherited from class y.io.graphml.output.AbstractSerializer |
onHandleSerialization |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StyleSerializer()
| Method Detail |
public boolean canHandle(SerializationEvent e)
SerializationEvent.
e - The event data.
true if the item is either an INodeStyle, IEdgeStyle or a
DocumentFragment.INodeStyle,
IEdgeStyle,
DocumentFragment
public void serializeItem(java.lang.Object item,
XmlWriter writer,
GraphMLWriteContext context)
throws GraphMLWriteException
GraphMLWriteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||