|
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.output.AbstractOutputHandler y.io.graphml.layout.EdgeLayoutOutputHandler
public class EdgeLayoutOutputHandler
Output handler for edge layout information in GraphML.
Constructor Summary | |
---|---|
EdgeLayoutOutputHandler()
|
Method Summary | |
---|---|
java.util.Collection |
getKeyDefinitionAttributes()
Adds the key definition for edge layout information. |
protected java.lang.Object |
getValue(GraphMLWriteContext context,
java.lang.Object key)
Retrieves the EdgeLayout instances associated to the specified
key edge. |
protected void |
writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
Calls context.serialize(data) for EdgeLayout data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeLayoutOutputHandler()
Method Detail |
---|
public java.util.Collection getKeyDefinitionAttributes()
Graph2DGraphMLHandler
generated GraphML, yfiles.type="edgegraphics"
is used.
getKeyDefinitionAttributes
in interface OutputHandler
getKeyDefinitionAttributes
in class AbstractOutputHandler
AbstractOutputHandler.addNameToKeyDefinition(String)
,
AbstractOutputHandler.addScopeToKeyDefinition(y.io.graphml.KeyScope)
,
AbstractOutputHandler.addTypeToKeyDefinition(y.io.graphml.KeyType)
,
AbstractOutputHandler.addUriToKeyDefinition(String)
protected void writeValueCore(GraphMLWriteContext context, java.lang.Object data) throws GraphMLWriteException
context.serialize(data)
for EdgeLayout
data.
writeValueCore
in class AbstractOutputHandler
context
- The current serialization context.data
- The EdgeLayout
instance to serialize.
GraphMLWriteException
- if a problem occurs during serialization.protected java.lang.Object getValue(GraphMLWriteContext context, java.lang.Object key)
EdgeLayout
instances associated to the specified
key
edge.
getValue
in class AbstractOutputHandler
context
- The current serialization context.key
- The Edge
instance that is serialized.
EdgeLayout
instances associated to the specified
key
edge.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |