public class HashStructureHookAggregator
extends java.lang.Object
HashStructureHookAggregator class is used to assist
in aggregating elements from a specific hook.| Constructor and Description |
|---|
HashStructureHookAggregator(ElementName hookName,
HashStructureHookListener listener)
Create a new
HashStructureHookAggregator for the given hook
name and listener. |
| Modifier and Type | Method and Description |
|---|---|
protected HashStructureHook |
getHook()
Get the
HashStructureHook with which this aggregator is
associated. |
HashStructureHookListener |
getHookListener()
Get the
HashStructureHookListener supplied to this aggregator. |
ElementName |
getHookName()
Get the
ElementName supplied to this aggregator. |
void |
initialize()
Initializes this aggregator as necessary.
|
boolean |
isInitialized()
Indicates whether this aggregator has been initialized or not.
|
public HashStructureHookAggregator(ElementName hookName, HashStructureHookListener listener)
HashStructureHookAggregator for the given hook
name and listener.hookName - the ElementName associated with the target
HashStructureHook (must not be null)listener - the HashStructureHookListener to be added to
the target HashStructureHook (must not be
null)public final void initialize()
HashStructureHookListener to the
HashStructureHook associated with the supplied
ElementName.public final boolean isInitialized()
true if the aggregator has been initialized,
false otherwiseinitialize()protected HashStructureHook getHook()
HashStructureHook with which this aggregator is
associated.HashStructureHook with which this aggregator is
associatedpublic HashStructureHookListener getHookListener()
HashStructureHookListener supplied to this aggregator.HashStructureHookListener supplied to this
aggregatorpublic ElementName getHookName()
ElementName supplied to this aggregator.ElementName supplied to this aggregator