|
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
public abstract class AbstractDataAcceptorInputHandler
An abstract DataAcceptor
-based implementation of InputHandler
.
Constructor Summary | |
---|---|
protected |
AbstractDataAcceptorInputHandler()
Initializes a new instance of the AbstractDataAcceptorInputHandler class. |
protected |
AbstractDataAcceptorInputHandler(ParsePrecedence precedence)
Initializes a new instance of the AbstractDataAcceptorInputHandler class. |
Method Summary | |
---|---|
DataAcceptor |
getDataAcceptor()
Gets the DataAcceptor to use for storing the data. |
void |
setDataAcceptor(DataAcceptor value)
Sets the DataAcceptor to use for storing the data. |
protected void |
setValue(GraphMLParseContext context,
java.lang.Object key,
java.lang.Object data)
This method uses the getDataAcceptor() to associate the data with the
key. |
Methods inherited from class y.io.graphml.input.AbstractInputHandler |
---|
applyDefault, getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, parseDataCore, 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 |
---|
protected AbstractDataAcceptorInputHandler()
AbstractDataAcceptorInputHandler
class.
InputHandler.getPrecedence()
has an initial value
of ParsePrecedence.DEFAULT
.
protected AbstractDataAcceptorInputHandler(ParsePrecedence precedence)
AbstractDataAcceptorInputHandler
class.
InputHandler.getPrecedence()
gets the initial value of
precedence
precedence
- The precedence to assign to the AbstractInputHandler.getPrecedence()
.Method Detail |
---|
public DataAcceptor getDataAcceptor()
DataAcceptor
to use for storing the data.
DataAcceptor
.setDataAcceptor(y.base.DataAcceptor)
public void setDataAcceptor(DataAcceptor value)
DataAcceptor
to use for storing the data.
value
- The DataAcceptor
.getDataAcceptor()
protected void setValue(GraphMLParseContext context, java.lang.Object key, java.lang.Object data)
getDataAcceptor()
to associate the data with the
key.
setValue
in class AbstractInputHandler
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 |