edu.sc.seis.sod.source.seismogram
Class ChoiceSource

java.lang.Object
  extended by edu.sc.seis.sod.source.seismogram.ChoiceSource
All Implemented Interfaces:
SeismogramSourceLocator

public class ChoiceSource
extends java.lang.Object
implements SeismogramSourceLocator


Constructor Summary
ChoiceSource(org.w3c.dom.Element config)
           
ChoiceSource(java.util.List<ChoiceSourceItem> choices, SeismogramSourceLocator otherwise)
           
 
Method Summary
 SeismogramSource getSeismogramSource(CacheEvent event, ChannelImpl channel, RequestFilter[] infilters, CookieJar cookieJar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceSource

public ChoiceSource(java.util.List<ChoiceSourceItem> choices,
                    SeismogramSourceLocator otherwise)

ChoiceSource

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

getSeismogramSource

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