edu.sc.seis.sod.subsetter.channel
Class ChannelLogicalSubsetter

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.LogicalLoaderSubsetter
      extended by edu.sc.seis.sod.subsetter.channel.CompositeChannelSubsetter
          extended by edu.sc.seis.sod.subsetter.channel.ChannelLogicalSubsetter
All Implemented Interfaces:
SodElement, ChannelSubsetter, Subsetter
Direct Known Subclasses:
AlwaysSuccess, ChannelAND, ChannelNOT, ChannelOR, ChannelXOR

public abstract class ChannelLogicalSubsetter
extends CompositeChannelSubsetter


Field Summary
static java.util.List<java.lang.String> packages
           
 
Fields inherited from class edu.sc.seis.sod.subsetter.LogicalLoaderSubsetter
subsetters
 
Constructor Summary
ChannelLogicalSubsetter(org.w3c.dom.Element config)
           
 
Method Summary
 StringTree accept(ChannelImpl e, NetworkSource network)
           
static ChannelSubsetter createSubsetter(Subsetter s)
           
abstract  boolean isSuccess(StringTree[] reasons)
           
abstract  boolean shouldContinue(StringTree result)
           
 
Methods inherited from class edu.sc.seis.sod.subsetter.channel.CompositeChannelSubsetter
getLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packages

public static final java.util.List<java.lang.String> packages
Constructor Detail

ChannelLogicalSubsetter

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

accept

public StringTree accept(ChannelImpl e,
                         NetworkSource network)
                  throws java.lang.Exception
Throws:
java.lang.Exception

shouldContinue

public abstract boolean shouldContinue(StringTree result)

isSuccess

public abstract boolean isSuccess(StringTree[] reasons)

createSubsetter

public static ChannelSubsetter createSubsetter(Subsetter s)
                                        throws ConfigurationException
Throws:
ConfigurationException