com.xmlcalabash.model
Class ForEach

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.ForEach

public class ForEach
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
ForEach(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node, java.lang.String name)
          Creates a new instance of ForEach
 
Method Summary
protected  void augmentIO()
           
 DeclareStep getDeclaration()
           
 java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
           
 Output getOutput(java.lang.String portName)
           
 boolean isPipeline()
           
 boolean loops()
           
 void patchEnvironment(Environment env)
           
 
Methods inherited from class com.xmlcalabash.model.DeclareStep
addImport, checkBinding, checkOutputBindings, declareStep, getBodyParsed, getDeclaredType, getPipeline, getStepDeclaration, getStepDeclarations, getXmlContent, imported, isAtomic, 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, getVariables, setEnvironment, valid, validBindings, validOutputBinding
 
Methods inherited from class com.xmlcalabash.model.Step
addDependency, addInput, 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, 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

ForEach

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

Method Detail

isPipeline

public boolean isPipeline()
Overrides:
isPipeline in class DeclareStep

getDeclaration

public DeclareStep getDeclaration()
Overrides:
getDeclaration in class DeclareStep

getExcludeInlineNamespaces

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

loops

public boolean loops()
Overrides:
loops in class Step

augmentIO

protected void augmentIO()
Overrides:
augmentIO in class CompoundStep

getOutput

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

patchEnvironment

public void patchEnvironment(Environment env)
Overrides:
patchEnvironment in class DeclareStep