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 and Description
    `Contributor(org.w3c.dom.Element config)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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.

    - ### 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(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 interface `OriginSubsetter`

    - #### getContributor

          public java.lang.String getContributor()

      returns the contributor.