Search this API
Interface InputHandlerProvider

All Superinterfaces:

public interface InputHandlerProvider
extends java.util.EventListener

Event listener interface for QueryInputHandlersEvents.

Implementing this interface allows to dynamically register InputHandler implementations in response to a GraphML key definition.

Implementations can be registered with GraphMLHandler.addInputHandlerProvider(InputHandlerProvider) or GraphMLParser.addInputHandlerProvider(InputHandlerProvider) or (preferably) with the various DataAcceptor based convenience methods on GraphMLHandler that create the input handler automatically.


Method Summary
 void onQueryInputHandler(QueryInputHandlersEvent event)
          Callback method to handle event.

Method Detail


void onQueryInputHandler(QueryInputHandlersEvent event)
                         throws GraphMLParseException
Callback method to handle event.

If this callback wants to register an InputHandler in response to QueryInputHandlersEvent.getKeyDefinition(), it should register the handler with QueryInputHandlersEvent.addInputHandler(InputHandler).

event - Event that contains all data relevant for handler setup.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.