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

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

public class EventArea
extends AreaSubsetter
implements OriginSubsetter, SodElement

Created: Thu Mar 14 14:02:33 2002


Field Summary
 
Fields inherited from class edu.sc.seis.sod.subsetter.AreaSubsetter
area, locationArray
 
Constructor Summary
EventArea(org.w3c.dom.Element config)
           
 
Method Summary
 StringTree accept(CacheEvent event, EventAttrImpl eventAttr, OriginImpl e)
          returns true if the given origin is within the area specified in the configuration file else returns false.
 
Methods inherited from class edu.sc.seis.sod.subsetter.AreaSubsetter
accept, extractPolygon, makeRelativeOrRecipeDirReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventArea

public EventArea(org.w3c.dom.Element config)
          throws ConfigurationException
Throws:
ConfigurationException
Method Detail

accept

public StringTree accept(CacheEvent event,
                         EventAttrImpl eventAttr,
                         OriginImpl e)
                  throws java.lang.Exception
returns true if the given origin is within the area specified in the configuration file else returns false.

Specified by:
accept in interface OriginSubsetter
Throws:
java.lang.Exception