y.io.graphml
Class GraphMLHandler.StringDataProviderOutputHandler
java.lang.Object
y.io.graphml.output.AbstractOutputHandler
y.io.graphml.output.AbstractDataProviderOutputHandler
y.io.graphml.GraphMLHandler.StringDataProviderOutputHandler
- All Implemented Interfaces:
- EventListener, OutputHandler, OutputHandlerProvider
- Enclosing class:
- GraphMLHandler
public static class GraphMLHandler.StringDataProviderOutputHandler
- extends AbstractDataProviderOutputHandler
Simple implementation of AbstractDataProviderOutputHandler that can write
string values.
-
-
| Methods inherited from class y.io.graphml.output.AbstractOutputHandler |
addNameToKeyDefinition, addScopeToKeyDefinition, addTypeToKeyDefinition, addUriToKeyDefinition, getDataTagAttributes, getDefaultValue, getKeyDefinitionAttributes, getPrecedence, getScope, getValidScopes, hasDefaultValueAssigned, isDefaultValue, isValidScope, isWriteKeyDefault, onQueryOutputHandler, setDefaultValueAssigned, setPrecedence, setScope, setValidScopes, setWriteKeyDefault, writeKeyDefinitionContent, writeValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphMLHandler.StringDataProviderOutputHandler
public GraphMLHandler.StringDataProviderOutputHandler(String name,
KeyScope scope)
setDefaultValue
public void setDefaultValue(Object value)
- Description copied from class:
AbstractOutputHandler
- Sets the default value.
Setting this value also sets the AbstractOutputHandler.hasDefaultValueAssigned() property.
- Overrides:
setDefaultValue in class AbstractOutputHandler
- Parameters:
value - The default value of the attribute.- See Also:
AbstractOutputHandler.getDefaultValue()
writeValueCore
protected void writeValueCore(GraphMLWriteContext context,
Object data)
- Description copied from class:
AbstractOutputHandler
- Core write that performs the actual writing of the data.
- Specified by:
writeValueCore in class AbstractOutputHandler
- Parameters:
context - The context.data - The data.