Package edu.sc.seis.sod.subsetter.origin
Class Contributor
- java.lang.Object
-
- 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
Constructors Constructor Description Contributor(org.w3c.dom.Element config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringTree
accept(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.iris.Fissures.event.EventAttrImpl eventAttr, edu.iris.Fissures.event.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.
-
-
-
Method Detail
-
accept
public StringTree accept(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.iris.Fissures.event.EventAttrImpl eventAttr, edu.iris.Fissures.event.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 interfaceOriginSubsetter
-
getContributor
public java.lang.String getContributor()
returns the contributor.
-
-