|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecty.io.graphml.output.AbstractOutputHandler
com.yworks.yfiles.server.graphml.flexio.LabelOutputHandler
This class manages the serialization of label instances.
To serialize a custom style or custom model parameters, corresponding serializer instances have to be registered as their serialization is delegated to the write context.
| Constructor Summary | |
LabelOutputHandler(java.lang.Object labelsDpKey,
KeyScope scope)
Creates a new instance of this output handler. |
|
| Method Summary | |
WritePrecedence |
getPrecedence()
The handler shall be called before its children. |
protected java.lang.Object |
getValue(GraphMLWriteContext context,
java.lang.Object key)
|
protected void |
writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LabelOutputHandler(java.lang.Object labelsDpKey,
KeyScope scope)
labelsDpKey - The data provider key that is used to retrieve the data provider that stores the list of
labels.| Method Detail |
protected java.lang.Object getValue(GraphMLWriteContext context,
java.lang.Object key)
throws GraphMLWriteException
GraphMLWriteException
protected void writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
throws GraphMLWriteException
GraphMLWriteExceptionpublic WritePrecedence getPrecedence()
WritePrecedence.BEFORE_CHILDREN
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||