Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.msm
Class MSMAdapter  view MSMAdapter download MSMAdapter.java

java.lang.Object
  extended byorg.greenstone.gatherer.msm.MSMAdapter
All Implemented Interfaces:
MSMListener
Direct Known Subclasses:
MSMProfiler

public class MSMAdapter
extends java.lang.Object
implements MSMListener

The default adapter for a MSMListener doesn't actually do anything, thus users can override whatever methods they want.


Constructor Summary
MSMAdapter()
           
 
Method Summary
 void elementChanged(MSMEvent event)
          Method that is called whenever an element within a set is changed or modified.
 void metadataChanged(MSMEvent event)
          Called whenever the metadata value changes in some way, such as the addition of a new value.
 void setChanged(MSMEvent event)
          Method that is called whenever the metadata set collection changes in some way, such as the addition of a new set or the merging of two sets.
 void valueChanged(MSMEvent event)
          Called whenever the value tree of an metadata element changes in some way, such as the addition of a new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MSMAdapter

public MSMAdapter()
Method Detail

elementChanged

public void elementChanged(MSMEvent event)
Method that is called whenever an element within a set is changed or modified.

Specified by:
elementChanged in interface MSMListener

metadataChanged

public void metadataChanged(MSMEvent event)
Called whenever the metadata value changes in some way, such as the addition of a new value.

Specified by:
metadataChanged in interface MSMListener

setChanged

public void setChanged(MSMEvent event)
Method that is called whenever the metadata set collection changes in some way, such as the addition of a new set or the merging of two sets.

Specified by:
setChanged in interface MSMListener

valueChanged

public void valueChanged(MSMEvent event)
Called whenever the value tree of an metadata element changes in some way, such as the addition of a new value.

Specified by:
valueChanged in interface MSMListener