org.w3c.tools.resources.event
Class StructureChangedAdapter

java.lang.Object
  extended by org.w3c.tools.resources.event.StructureChangedAdapter
All Implemented Interfaces:
java.util.EventListener, StructureChangedListener
Direct Known Subclasses:
JigsawServletContext

public class StructureChangedAdapter
extends java.lang.Object
implements StructureChangedListener


Constructor Summary
StructureChangedAdapter()
           
 
Method Summary
 void resourceCreated(StructureChangedEvent evt)
          A new resource has been created in some space.
 void resourceModified(StructureChangedEvent evt)
          This handles the RESOURCE_MODIFIED kind of events.
 void resourceRemoved(StructureChangedEvent evt)
          A resource is about to be removed This handles the RESOURCE_REMOVED kind of events.
 void resourceUnloaded(StructureChangedEvent evt)
          A resource is about to be unloaded This handles the RESOURCE_UNLOADED kind of events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureChangedAdapter

public StructureChangedAdapter()
Method Detail

resourceModified

public void resourceModified(StructureChangedEvent evt)
This handles the RESOURCE_MODIFIED kind of events.

Specified by:
resourceModified in interface StructureChangedListener
Parameters:
evt - The StructureChangeEvent.

resourceCreated

public void resourceCreated(StructureChangedEvent evt)
A new resource has been created in some space. This handles the RESOURCE_CREATED kind of events.

Specified by:
resourceCreated in interface StructureChangedListener
Parameters:
evt - The event describing the change.

resourceRemoved

public void resourceRemoved(StructureChangedEvent evt)
A resource is about to be removed This handles the RESOURCE_REMOVED kind of events.

Specified by:
resourceRemoved in interface StructureChangedListener
Parameters:
evt - The event describing the change.

resourceUnloaded

public void resourceUnloaded(StructureChangedEvent evt)
A resource is about to be unloaded This handles the RESOURCE_UNLOADED kind of events.

Specified by:
resourceUnloaded in interface StructureChangedListener
Parameters:
evt - The event describing the change.