Package com.xmlcalabash.datamodel
Class IfInstruction
-
- All Implemented Interfaces:
public final class IfInstruction extends ChooseInstruction
-
-
Field Summary
Fields Modifier and Type Field Description private String
test
private Boolean
collection
private String
name
private final Location
location
private final Map<QName, StaticOptionDetails>
staticOptions
private final String
id
private Boolean
expandText
private final XProcInstruction
parent
private final List<XProcInstruction>
children
private Map<QName, String>
extensionAttributes
private final List<XdmNode>
pipeinfo
private final Map<String, NamespaceUri>
inscopeNamespaces
private final Map<QName, VariableBindingContainer>
inscopeVariables
private final InstructionConfiguration
stepConfig
private final QName
instructionType
-
Constructor Summary
Constructors Constructor Description IfInstruction(XProcInstruction parent)
-
Method Summary
Modifier and Type Method Description final String
getTest()
final Unit
setTest(String test)
final Boolean
getCollection()
final Unit
setCollection(Boolean collection)
OutputInstruction
output(String port)
OutputInstruction
output(String port, Boolean primary, Boolean sequence)
ForEachInstruction
forEach()
ViewportInstruction
viewport()
ChooseInstruction
choose()
IfInstruction
ifInstruction()
GroupInstruction
group()
TryInstruction
tryInstruction()
AtomicStepInstruction
atomicStep(QName type)
VariableInstruction
variable(QName name)
-
Methods inherited from class com.xmlcalabash.datamodel.StepDeclaration
checkInputBindings, depends, getLocation, getName, getStaticOptions, inputs, namedInput, namedOutput, outputs, primaryInput, primaryOutput, rewriteBindings, setName, timeout, toString
-
Methods inherited from class com.xmlcalabash.datamodel.XProcInstruction
addVariable, addVisibleStepName, addVisibleStepType, fromString, getChildren, getExpandText, getExtensionAttributes, getId, getInscopeNamespaces, getInscopeVariables, getInstructionType, getParent, getPipeinfo, getStepConfig, setExpandText, setExtensionAttribute, setExtensionAttributes, stepAvailable, stepDeclaration
-
Methods inherited from class com.xmlcalabash.datamodel.CompoundStepDeclaration
atomicStep, checkImplicitOutput, message, runStep
-
Methods inherited from class com.xmlcalabash.datamodel.ChooseInstruction
findOutputDeclarations, otherwise, whenInstruction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
IfInstruction
IfInstruction(XProcInstruction parent)
-
-
Method Detail
-
getCollection
final Boolean getCollection()
-
setCollection
final Unit setCollection(Boolean collection)
-
output
OutputInstruction output(String port)
-
output
OutputInstruction output(String port, Boolean primary, Boolean sequence)
-
forEach
ForEachInstruction forEach()
-
viewport
ViewportInstruction viewport()
-
choose
ChooseInstruction choose()
-
ifInstruction
IfInstruction ifInstruction()
-
group
GroupInstruction group()
-
tryInstruction
TryInstruction tryInstruction()
-
atomicStep
AtomicStepInstruction atomicStep(QName type)
-
variable
VariableInstruction variable(QName name)
-
-
-
-