|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.input.AbstractInputHandler com.yworks.yfiles.server.graphml.flexio.AbstractInputHandlerProvider
A convenience sub class of AbstractInputHandler
that implements the
InputHandlerProvider
interface and calls acceptKey(org.w3c.dom.Element)
to decide if it shall provide itself as input handler.
Constructor Summary | |
AbstractInputHandlerProvider()
|
Method Summary | |
abstract boolean |
acceptKey(org.w3c.dom.Element keyDefinition)
This method is called by onQueryInputHandler(y.io.graphml.input.QueryInputHandlersEvent) and shall
decide if the given keyDefinition shall be accepted so that this input handler gets provided for
the event. |
void |
onQueryInputHandler(QueryInputHandlersEvent event)
If the event is accepted , this input handler is
initialized
and added to the event. |
Methods inherited from class y.io.graphml.input.AbstractInputHandler |
applyDefault, getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, parseDataCore, setDefaultExists, setDefaultValue, setParseDefaultValue, setPrecedence, setValidScopes, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractInputHandlerProvider()
Method Detail |
public void onQueryInputHandler(QueryInputHandlersEvent event) throws GraphMLParseException
accepted
, this input handler is
initialized
and added to the event.
onQueryInputHandler
in interface InputHandlerProvider
event
- Event that contains all data relevant for handler setup.
GraphMLParseException
public abstract boolean acceptKey(org.w3c.dom.Element keyDefinition)
onQueryInputHandler(y.io.graphml.input.QueryInputHandlersEvent)
and shall
decide if the given keyDefinition
shall be accepted so that this input handler gets provided for
the event.
keyDefinition
- The key definition to check.
true
if the key definition shall be accepted, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |