edu.sc.seis.sod.subsetter.origin
Class Contributor

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.origin.Contributor
All Implemented Interfaces:
SodElement, OriginSubsetter, Subsetter

public class Contributor
extends java.lang.Object
implements OriginSubsetter

This tag is used to specify the value of the catalog.

 <contributor><value>NEIC</value></contributor>


Constructor Summary
Contributor(org.w3c.dom.Element config)
           
 
Method Summary
 StringTree accept(CacheEvent event, EventAttrImpl eventAttr, OriginImpl origin)
          returns true if the contributor of the origin is same as the corresponding contributor specified in the configuration file.
 java.lang.String getContributor()
          returns the contributor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contributor

public Contributor(org.w3c.dom.Element config)
Method Detail

accept

public StringTree accept(CacheEvent event,
                         EventAttrImpl eventAttr,
                         OriginImpl origin)
returns true if the contributor of the origin is same as the corresponding contributor specified in the configuration file.

Specified by:
accept in interface OriginSubsetter

getContributor

public java.lang.String getContributor()
returns the contributor.