edu.sc.seis.sod.subsetter.network
Class NetworkScript

java.lang.Object
  extended by edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
      extended by edu.sc.seis.sod.subsetter.network.NetworkScript
All Implemented Interfaces:
SodElement, NetworkSubsetter, Subsetter

public class NetworkScript
extends AbstractScriptSubsetter
implements NetworkSubsetter


Field Summary
 
Fields inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
config, engine, factory, script, scriptType
 
Constructor Summary
NetworkScript(org.w3c.dom.Element config)
           
 
Method Summary
 StringTree accept(NetworkAttrImpl network)
           
 StringTree runScript(VelocityNetwork networkAttr)
          Run the script with the arguments as predefined variables.
 
Methods inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
cleanScript, eval, preeval, pullResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkScript

public NetworkScript(org.w3c.dom.Element config)
Method Detail

accept

public StringTree accept(NetworkAttrImpl network)
                  throws java.lang.Exception
Specified by:
accept in interface NetworkSubsetter
Throws:
java.lang.Exception

runScript

public StringTree runScript(VelocityNetwork networkAttr)
                     throws java.lang.Exception
Run the script with the arguments as predefined variables.

Throws:
java.lang.Exception