Search this API

y.io.graphml.output
Class QueryOutputHandlersEvent.HandlerStruct

java.lang.Object
  extended by y.io.graphml.output.QueryOutputHandlersEvent.HandlerStruct
Enclosing class:
QueryOutputHandlersEvent

public static class QueryOutputHandlersEvent.HandlerStruct
extends java.lang.Object

Helper class that represents an OutputHandler that is bound to a certain scope.

 

Constructor Summary
QueryOutputHandlersEvent.HandlerStruct(OutputHandler handler, KeyScope scope)
          Create a new instance of this class.
 
Method Summary
 OutputHandler getHandler()
          Returns the output handler encapsulated by this instance.
 KeyScope getScope()
          Returns the scope that getHandler() is bound to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryOutputHandlersEvent.HandlerStruct

public QueryOutputHandlersEvent.HandlerStruct(OutputHandler handler,
                                              KeyScope scope)
Create a new instance of this class.

Parameters:
handler - The handler
scope - The scope this handler is bound to.
See Also:
QueryOutputHandlersEvent.addOutputHandler(OutputHandler,y.io.graphml.KeyScope)
Method Detail

getHandler

public OutputHandler getHandler()
Returns the output handler encapsulated by this instance.

Returns:
The output handler encapsulated by this instance.

getScope

public KeyScope getScope()
Returns the scope that getHandler() is bound to.

Returns:
The scope of this handler.

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