Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.extension
Class HashStructureHookEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.ide.extension.HashStructureHookEvent
All Implemented Interfaces:
java.io.Serializable

public final class HashStructureHookEvent
extends java.util.EventObject

HashStructureHookEvent instances are sent to HashStructureHookListener objects. HashStructureHookEvents come in Type.LISTENER_ATTACHED and Type.ELEMENT_VISITED forms. A Type.LISTENER_ATTACHED form contains exposes only the combined HashStructure associated with the HashStructureHook source. A Type.ELEMENT_VISITED event exposes s a read-only HashStructure that contains the data from the new element that has been visited, as well as the combined HashStructure that contains all the data processed by the HashStructureHook (new and old).

See Also:
Serialized Form

Nested Class Summary
static class HashStructureHookEvent.Type
           
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HashStructureHookEvent(HashStructureHook source, HashStructure combinedHashStructure)
           
HashStructureHookEvent(HashStructureHook source, HashStructure combinedHashStructure, HashStructure newElementHashStructure, Extension extension)
           
 
Method Summary
 HashStructure getCombinedHashStructure()
          Get the HashStructureHook's combined HashStructure that contains all the data that has been processed by the HashStructureHook (new and old).
 HashStructureHookEvent.Type getEventType()
          Get the type of this event (Type.LISTENER_ATTACHED, or TYPE.ELEMENT_VISITED).
 Extension getExtension()
          Get the IDE Extension that contributed the new element that was visited (null in the case of a listener attached event).
 HashStructureHook getHashStructureHook()
          Get the HashStructureHook that is the source of this event.
 HashStructure getNewElementHashStructure()
          Get the read-only HashStructure that contains just the data from the new element that was visited (or null in the case of a listener attached event).
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashStructureHookEvent

public HashStructureHookEvent(HashStructureHook source,
                              HashStructure combinedHashStructure)

HashStructureHookEvent

public HashStructureHookEvent(HashStructureHook source,
                              HashStructure combinedHashStructure,
                              HashStructure newElementHashStructure,
                              Extension extension)
Method Detail

getHashStructureHook

public HashStructureHook getHashStructureHook()
Get the HashStructureHook that is the source of this event.

Returns:

getCombinedHashStructure

public HashStructure getCombinedHashStructure()
Get the HashStructureHook's combined HashStructure that contains all the data that has been processed by the HashStructureHook (new and old).

Returns:

getNewElementHashStructure

public HashStructure getNewElementHashStructure()
Get the read-only HashStructure that contains just the data from the new element that was visited (or null in the case of a listener attached event).

Returns:

getExtension

public Extension getExtension()
Get the IDE Extension that contributed the new element that was visited (null in the case of a listener attached event).

Returns:

getEventType

public HashStructureHookEvent.Type getEventType()
Get the type of this event (Type.LISTENER_ATTACHED, or TYPE.ELEMENT_VISITED).

Returns:

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.