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
Modifier and Type Method Description StringTree
accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.sod.model.event.EventAttrImpl eventAttr, edu.sc.seis.sod.model.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.
-
Constructor Details
-
Contributor
public Contributor(org.w3c.dom.Element config)
-
-
Method Details
-
accept
public StringTree accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.sod.model.event.EventAttrImpl eventAttr, edu.sc.seis.sod.model.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.
-