edu.sc.seis.sod.subsetter.requestGenerator
Class ChoiceRequest

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.requestGenerator.ChoiceRequest
All Implemented Interfaces:
SodElement, RequestGenerator, Subsetter

public class ChoiceRequest
extends java.lang.Object
implements RequestGenerator


Field Summary
protected  java.util.List choices
           
protected  RequestGenerator otherwise
           
static java.util.List<java.lang.String> packages
           
 
Constructor Summary
ChoiceRequest(org.w3c.dom.Element config)
           
 
Method Summary
 RequestFilter[] generateRequest(CacheEvent event, ChannelImpl channel, CookieJar cookieJar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

choices

protected java.util.List choices

otherwise

protected RequestGenerator otherwise

packages

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

ChoiceRequest

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

generateRequest

public RequestFilter[] generateRequest(CacheEvent event,
                                       ChannelImpl channel,
                                       CookieJar cookieJar)
                                throws java.lang.Exception
Specified by:
generateRequest in interface RequestGenerator
Throws:
java.lang.Exception