com.xmlcalabash.runtime
Class XChoose

java.lang.Object
  extended by com.xmlcalabash.runtime.XStep
      extended by com.xmlcalabash.runtime.XAtomicStep
          extended by com.xmlcalabash.runtime.XCompoundStep
              extended by com.xmlcalabash.runtime.XChoose
All Implemented Interfaces:
XProcRunnable

public class XChoose
extends XCompoundStep

Created by IntelliJ IDEA. User: ndw Date: Oct 13, 2008 Time: 4:37:16 PM To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class com.xmlcalabash.runtime.XCompoundStep
subpipeline, variables
 
Fields inherited from class com.xmlcalabash.runtime.XAtomicStep
inputs, outputs
 
Fields inherited from class com.xmlcalabash.runtime.XStep
inScopeOptions, logger, name, parent, runtime, step
 
Constructor Summary
XChoose(XProcRuntime runtime, Step step, XCompoundStep parent)
           
 
Method Summary
 ReadablePipe getBinding(java.lang.String stepName, java.lang.String portName)
           
 void instantiate(Step step)
           
 void run()
           
 
Methods inherited from class com.xmlcalabash.runtime.XCompoundStep
addStep, copyInputs, getVariable, hasInScopeVariableBinding, hasInScopeVariableValue, reset
 
Methods inherited from class com.xmlcalabash.runtime.XAtomicStep
computeParameters, computeValue, evaluateXPath, getParent, getPipeFromBinding, hasReadablePipes, hasWriteablePipe, instantiateReaders, optionAvailable, reportError
 
Methods inherited from class com.xmlcalabash.runtime.XStep
addInput, addOutput, clearOptions, clearParameters, error, fine, finer, finest, getDeclareStep, getExtensionAttribute, getInheritedExtensionAttribute, getInput, getInScopeOptions, getName, getNode, getOption, getOptions, getOutput, getParameter, getParameter, getParameterPorts, getParameters, getParameters, getStep, getType, info, setOption, setParameter, setParameter, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XChoose

public XChoose(XProcRuntime runtime,
               Step step,
               XCompoundStep parent)
Method Detail

instantiate

public void instantiate(Step step)
Overrides:
instantiate in class XCompoundStep

getBinding

public ReadablePipe getBinding(java.lang.String stepName,
                               java.lang.String portName)
Overrides:
getBinding in class XCompoundStep

run

public void run()
         throws net.sf.saxon.s9api.SaxonApiException
Specified by:
run in interface XProcRunnable
Overrides:
run in class XCompoundStep
Throws:
net.sf.saxon.s9api.SaxonApiException