com.xmlcalabash.model
Class Choose

java.lang.Object
  extended by com.xmlcalabash.model.SourceArtifact
      extended by com.xmlcalabash.model.Step
          extended by com.xmlcalabash.model.CompoundStep
              extended by com.xmlcalabash.model.DeclareStep
                  extended by com.xmlcalabash.model.Choose

public class Choose
extends DeclareStep

Author:
ndw

Field Summary
 
Fields inherited from class com.xmlcalabash.model.DeclareStep
declaredSteps, importedLibs, psviRequired, xpathVersion
 
Fields inherited from class com.xmlcalabash.model.Step
declaration, env, inputs, outputs, parent, stepName, stepType, version
 
Fields inherited from class com.xmlcalabash.model.SourceArtifact
extnAttrs, logger, node, runtime
 
Constructor Summary
Choose(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node, java.lang.String name)
          Creates a new instance of Choose
 
Method Summary
 void addInput(Input input)
           
protected  void augmentIO()
           
 DeclareStep getDeclaration()
           
 java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
           
 boolean isPipeline()
           
protected  void setEnvironment(Environment newEnvironment)
           
protected  boolean validBindings()
           
protected  boolean validOutputBinding()
           
 
Methods inherited from class com.xmlcalabash.model.DeclareStep
addImport, checkBinding, checkOutputBindings, declareStep, getBodyParsed, getDeclaredType, getPipeline, getStepDeclaration, getStepDeclarations, getXmlContent, imported, isAtomic, patchEnvironment, setAtomic, setBodyParsed, setDeclaredType, setExcludeInlineNamespaces, setParentDecl, setPipeline, setPsviRequired, setup, setupEnvironment, setXmlContent, setXPathVersion
 
Methods inherited from class com.xmlcalabash.model.CompoundStep
addVariable, augment, augmentOptions, checkForBindings, checkPrimaryIO, checkVariables, containsStep, getOutput, getVariables, valid
 
Methods inherited from class com.xmlcalabash.model.Step
addDependency, addLog, addOption, addOutput, addParameter, addStep, checkDuplicateVars, checkOptionBinding, checkOptionBinding, dependsOn, dump, dump, getDefaultOutput, getDependencies, getEnvironment, getInput, getLog, getName, getNode, getOption, getOptions, getParameter, getParameters, getPrimaryOutput, getStep, getType, getVersion, inputs, insideALoop, isAnonymous, isPipelineCall, loops, matchesDeclaration, options, orderSteps, outputs, parameters, patchInputBindings, patchPipeBindings, setDeclaration, setSubpipeline, setVersion, subpipeline, toString, validOptions, validParams
 
Methods inherited from class com.xmlcalabash.model.SourceArtifact
addExtensionAttribute, error, error, getExtensionAttribute, getExtensionAttributes, getXProc, xplFile, xplLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Choose

public Choose(XProcRuntime xproc,
              net.sf.saxon.s9api.XdmNode node,
              java.lang.String name)
Creates a new instance of Choose

Method Detail

isPipeline

public boolean isPipeline()
Overrides:
isPipeline in class DeclareStep

getDeclaration

public DeclareStep getDeclaration()
Overrides:
getDeclaration in class DeclareStep

addInput

public void addInput(Input input)
Overrides:
addInput in class Step

augmentIO

protected void augmentIO()
Overrides:
augmentIO in class CompoundStep

getExcludeInlineNamespaces

public java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
Overrides:
getExcludeInlineNamespaces in class DeclareStep

setEnvironment

protected void setEnvironment(Environment newEnvironment)
Overrides:
setEnvironment in class CompoundStep

validBindings

protected boolean validBindings()
Overrides:
validBindings in class CompoundStep

validOutputBinding

protected boolean validOutputBinding()
Overrides:
validOutputBinding in class CompoundStep