|
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.graph2d.WriteNodeRealizerHandler
public class WriteNodeRealizerHandler
Output handler for NodeRealizer
data attributes in GraphML.
Constructor Summary | |
---|---|
WriteNodeRealizerHandler()
|
Method Summary | |
---|---|
Collection |
getKeyDefinitionAttributes()
Returns all XML attributes of the key element. |
protected Object |
getValue(GraphMLWriteContext context,
Object key)
Callback method that obtains the data for the given key. |
protected void |
writeValueCore(GraphMLWriteContext context,
Object data)
Core write that performs the actual writing of the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteNodeRealizerHandler()
Method Detail |
---|
public Collection getKeyDefinitionAttributes()
AbstractOutputHandler
key
element.
Key scope, Key type, name and uri are added by the corresponding addXXXToKeDefinition
methods and should be added here.
getKeyDefinitionAttributes
in interface OutputHandler
getKeyDefinitionAttributes
in class AbstractOutputHandler
key
element.AbstractOutputHandler.addNameToKeyDefinition(String)
,
AbstractOutputHandler.addScopeToKeyDefinition(y.io.graphml.KeyScope)
,
AbstractOutputHandler.addTypeToKeyDefinition(y.io.graphml.KeyType)
,
AbstractOutputHandler.addUriToKeyDefinition(String)
protected void writeValueCore(GraphMLWriteContext context, Object data) throws GraphMLWriteException
AbstractOutputHandler
writeValueCore
in class AbstractOutputHandler
GraphMLWriteException
context
- The context.data
- The data.protected Object getValue(GraphMLWriteContext context, Object key)
AbstractOutputHandler
getValue
in class AbstractOutputHandler
context
- The context.key
- The key.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |