|
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.StringDataProviderOutputHandler
public static class GraphMLHandler.StringDataProviderOutputHandler
Simple implementation of AbstractDataProviderOutputHandler
that can write
string values.
Constructor Summary | |
---|---|
GraphMLHandler.StringDataProviderOutputHandler(java.lang.String name,
KeyScope scope)
|
Method Summary | |
---|---|
void |
setDefaultValue(java.lang.Object value)
Sets the default value. |
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, getValue, setDataProvider |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMLHandler.StringDataProviderOutputHandler(java.lang.String name, KeyScope scope)
Method Detail |
---|
public void setDefaultValue(java.lang.Object value)
AbstractOutputHandler
Setting this value also sets the AbstractOutputHandler.hasDefaultValueAssigned()
property.
setDefaultValue
in class AbstractOutputHandler
value
- The default value of the attribute.AbstractOutputHandler.getDefaultValue()
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 |