com.xmlcalabash.model
Class When

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

public class When
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
When(XProcRuntime xproc, net.sf.saxon.s9api.XdmNode node, java.lang.String name)
          Creates a new instance of When
 
Method Summary
protected  void augmentIO()
           
 DeclareStep getDeclaration()
           
 java.util.HashSet<java.lang.String> getExcludeInlineNamespaces()
           
 java.lang.String getTest()
           
 boolean isPipeline()
           
 void setTest(java.lang.String test)
           
 boolean valid()
           
 
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, setEnvironment, 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 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

When

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

Method Detail

isPipeline

public boolean isPipeline()
Overrides:
isPipeline in class DeclareStep

getDeclaration

public DeclareStep getDeclaration()
Overrides:
getDeclaration in class DeclareStep

setTest

public void setTest(java.lang.String test)

getTest

public java.lang.String getTest()

getExcludeInlineNamespaces

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

augmentIO

protected void augmentIO()
Overrides:
augmentIO in class CompoundStep

valid

public boolean valid()
Overrides:
valid in class CompoundStep