com.xmlcalabash.model
Class DeclareStep
java.lang.Object
com.xmlcalabash.model.SourceArtifact
com.xmlcalabash.model.Step
com.xmlcalabash.model.CompoundStep
com.xmlcalabash.model.DeclareStep
- Direct Known Subclasses:
- Catch, Choose, ForEach, Group, Otherwise, Try, UntilUnchanged, Viewport, When
public class DeclareStep
- extends CompoundStep
Constructor Summary |
DeclareStep(XProcRuntime xproc,
net.sf.saxon.s9api.XdmNode node,
java.lang.String name)
Creates a new instance of DeclareStep |
Methods inherited from class com.xmlcalabash.model.CompoundStep |
addVariable, augment, augmentIO, augmentOptions, checkForBindings, checkPrimaryIO, checkVariables, containsStep, getOutput, 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, loops, matchesDeclaration, options, orderSteps, outputs, parameters, patchInputBindings, patchPipeBindings, setDeclaration, setSubpipeline, setVersion, subpipeline, toString, validOptions, validParams |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
psviRequired
protected boolean psviRequired
xpathVersion
protected java.lang.String xpathVersion
declaredSteps
protected java.util.Hashtable<net.sf.saxon.s9api.QName,DeclareStep> declaredSteps
importedLibs
protected java.util.HashSet<java.lang.String> importedLibs
DeclareStep
public DeclareStep(XProcRuntime xproc,
net.sf.saxon.s9api.XdmNode node,
java.lang.String name)
- Creates a new instance of DeclareStep
setXmlContent
protected void setXmlContent(java.util.Vector<net.sf.saxon.s9api.XdmNode> nodes)
getXmlContent
protected java.util.Vector<net.sf.saxon.s9api.XdmNode> getXmlContent()
getBodyParsed
public boolean getBodyParsed()
setBodyParsed
public void setBodyParsed(boolean parsed)
setPsviRequired
public void setPsviRequired(boolean psvi)
setXPathVersion
public void setXPathVersion(java.lang.String version)
setDeclaredType
public void setDeclaredType(net.sf.saxon.s9api.QName type)
setExcludeInlineNamespaces
public void setExcludeInlineNamespaces(java.util.HashSet<java.lang.String> uris)
getExcludeInlineNamespaces
public java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
setAtomic
public void setAtomic(boolean isAtomic)
isAtomic
public boolean isAtomic()
isPipeline
public boolean isPipeline()
- Overrides:
isPipeline
in class Step
getDeclaredType
public net.sf.saxon.s9api.QName getDeclaredType()
- Overrides:
getDeclaredType
in class Step
setParentDecl
public void setParentDecl(DeclareStep decl)
setPipeline
public void setPipeline(Pipeline pipeline)
getPipeline
public Pipeline getPipeline()
- Overrides:
getPipeline
in class Step
declareStep
public void declareStep(net.sf.saxon.s9api.QName type,
DeclareStep step)
imported
public boolean imported(java.lang.String uri)
addImport
public void addImport(java.lang.String uri)
getDeclaration
public DeclareStep getDeclaration()
- Overrides:
getDeclaration
in class Step
getStepDeclaration
public DeclareStep getStepDeclaration(net.sf.saxon.s9api.QName type)
getStepDeclarations
public java.util.Collection<DeclareStep> getStepDeclarations()
setupEnvironment
public void setupEnvironment()
patchEnvironment
protected void patchEnvironment(Environment env)
- Overrides:
patchEnvironment
in class Step
setup
public void setup()
checkOutputBindings
protected boolean checkOutputBindings()
checkBinding
protected boolean checkBinding(Input input)
- Overrides:
checkBinding
in class CompoundStep