|
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.output.AbstractDataProviderOutputHandler y.io.graphml.GraphMLHandler.IntDataProviderOutputHandler
public static class GraphMLHandler.IntDataProviderOutputHandler
Simple implementation of AbstractDataProviderOutputHandler
that can write
int values.
Constructor Summary | |
---|---|
GraphMLHandler.IntDataProviderOutputHandler(java.lang.String name,
KeyScope scope)
|
Method Summary | |
---|---|
protected java.lang.Object |
getValue(GraphMLWriteContext context,
java.lang.Object key)
Core parse method that obtains the data for the given key. |
protected void |
writeValueCore(GraphMLWriteContext context,
java.lang.Object data)
Core write that performs the actual writing of the data. |
Methods inherited from class y.io.graphml.output.AbstractDataProviderOutputHandler |
---|
getDataProvider, setDataProvider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMLHandler.IntDataProviderOutputHandler(java.lang.String name, KeyScope scope)
Method Detail |
---|
protected java.lang.Object getValue(GraphMLWriteContext context, java.lang.Object key)
AbstractDataProviderOutputHandler
This implementation calls DataProvider.get(Object)
to
retrieve the value from the AbstractDataProviderOutputHandler.getDataProvider()
.
getValue
in class AbstractDataProviderOutputHandler
context
- The context.key
- The key.
protected void writeValueCore(GraphMLWriteContext context, java.lang.Object data)
AbstractOutputHandler
writeValueCore
in class AbstractOutputHandler
context
- The context.data
- The data.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |