|
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.input.AbstractInputHandler y.io.graphml.input.AbstractDataAcceptorInputHandler y.io.graphml.GraphMLHandler.LongDataAcceptorInputHandler
public static class GraphMLHandler.LongDataAcceptorInputHandler
Simple implementation of AbstractDataAcceptorInputHandler
that can read
long values.
Constructor Summary | |
---|---|
GraphMLHandler.LongDataAcceptorInputHandler()
|
Method Summary | |
---|---|
protected java.lang.Object |
parseDataCore(GraphMLParseContext context,
org.w3c.dom.Node node)
Abstract method callback that actually parses the data. |
protected void |
setValue(GraphMLParseContext context,
java.lang.Object key,
java.lang.Object data)
This method uses the AbstractDataAcceptorInputHandler.getDataAcceptor() to associate the data with the
key. |
Methods inherited from class y.io.graphml.input.AbstractDataAcceptorInputHandler |
---|
getDataAcceptor, setDataAcceptor |
Methods inherited from class y.io.graphml.input.AbstractInputHandler |
---|
applyDefault, getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, setDefaultExists, setDefaultValue, setParseDefaultValue, setPrecedence, setValidScopes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMLHandler.LongDataAcceptorInputHandler()
Method Detail |
---|
protected java.lang.Object parseDataCore(GraphMLParseContext context, org.w3c.dom.Node node) throws GraphMLParseException
AbstractInputHandler
parseDataCore
in class AbstractInputHandler
context
- The context.node
- The node that contains the data. This is either the GraphML data
element or the
default
element.
GraphMLParseException
protected void setValue(GraphMLParseContext context, java.lang.Object key, java.lang.Object data)
AbstractDataAcceptorInputHandler
AbstractDataAcceptorInputHandler.getDataAcceptor()
to associate the data with the
key.
setValue
in class AbstractDataAcceptorInputHandler
context
- The context.key
- The key.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 |