com.xmlcalabash.model
Class CompoundStep

java.lang.Object
  extended by com.xmlcalabash.model.SourceArtifact
      extended by com.xmlcalabash.model.Step
          extended by com.xmlcalabash.model.CompoundStep
Direct Known Subclasses:
DeclareStep, Pipeline

public class CompoundStep
extends Step

Author:
ndw

Field Summary
 
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
CompoundStep(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node, net.sf.saxon.s9api.QName type, java.lang.String name)
          Creates a new instance of CompoundStep
 
Method Summary
 void addVariable(Variable variable)
           
 void augment()
           
protected  void augmentIO()
           
protected  void augmentOptions()
           
protected  boolean checkBinding(Input input)
           
protected  void checkForBindings(java.util.HashSet<Output> outputs)
           
 void checkPrimaryIO()
           
 void checkVariables()
           
 boolean containsStep(java.lang.String stepName)
           
 Output getOutput(java.lang.String portName)
           
 java.util.Collection<Variable> getVariables()
           
protected  void setEnvironment(Environment newEnvironment)
           
 boolean valid()
           
protected  boolean validBindings()
           
protected  boolean validOutputBinding()
           
 
Methods inherited from class com.xmlcalabash.model.Step
addDependency, addInput, addLog, addOption, addOutput, addParameter, addStep, checkDuplicateVars, checkOptionBinding, checkOptionBinding, dependsOn, dump, dump, getDeclaration, getDeclaredType, getDefaultOutput, getDependencies, getEnvironment, getInput, getLog, getName, getNode, getOption, getOptions, getParameter, getParameters, getPipeline, getPrimaryOutput, getStep, getType, getVersion, inputs, insideALoop, isAnonymous, isPipeline, isPipelineCall, loops, matchesDeclaration, options, orderSteps, outputs, parameters, patchEnvironment, 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

CompoundStep

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

Method Detail

containsStep

public boolean containsStep(java.lang.String stepName)
Overrides:
containsStep in class Step

addVariable

public void addVariable(Variable variable)
Overrides:
addVariable in class Step

getVariables

public java.util.Collection<Variable> getVariables()
Overrides:
getVariables in class Step

setEnvironment

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

augment

public void augment()
Overrides:
augment in class Step

augmentOptions

protected void augmentOptions()
Overrides:
augmentOptions in class Step

augmentIO

protected void augmentIO()
Overrides:
augmentIO in class Step

getOutput

public Output getOutput(java.lang.String portName)
Overrides:
getOutput in class Step

checkVariables

public void checkVariables()
Overrides:
checkVariables in class Step

checkBinding

protected boolean checkBinding(Input input)
Overrides:
checkBinding in class Step

checkPrimaryIO

public void checkPrimaryIO()

valid

public boolean valid()
Overrides:
valid in class Step

validOutputBinding

protected boolean validOutputBinding()

validBindings

protected boolean validBindings()
Overrides:
validBindings in class Step

checkForBindings

protected void checkForBindings(java.util.HashSet<Output> outputs)
Overrides:
checkForBindings in class Step