Package com.xmlcalabash.datamodel
Class XProcExpression
-
- All Implemented Interfaces:
public abstract class XProcExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
XProcExpression.Companion
-
Field Summary
Fields Modifier and Type Field Description private final XPathExpressionDetails
details
private Object
contextItem
private final List<XProcDocument>
defaultCollection
private final Set<QName>
variableRefs
private final Set<Pair<QName, Integer>>
functionRefs
private final Boolean
contextRef
private final Boolean
alwaysDynamic
private final XdmValue
staticValue
private final XProcStepConfiguration
stepConfig
private final SequenceType
asType
private final Boolean
collection
private final List<XdmAtomicValue>
values
public final static XProcExpression.Companion
Companion
-
Constructor Summary
Constructors Constructor Description XProcExpression(XProcStepConfiguration stepConfig, SequenceType asType, Boolean collection, List<XdmAtomicValue> values)
-
Method Summary
Modifier and Type Method Description final XPathExpressionDetails
getDetails()
final Object
getContextItem()
final Unit
setContextItem(Object contextItem)
final List<XProcDocument>
getDefaultCollection()
final Set<QName>
getVariableRefs()
final Set<Pair<QName, Integer>>
getFunctionRefs()
final Boolean
getContextRef()
final Boolean
getAlwaysDynamic()
final XdmValue
getStaticValue()
final XProcStepConfiguration
getStepConfig()
final SequenceType
getAsType()
final Boolean
getCollection()
final List<XdmAtomicValue>
getValues()
final Boolean
canBeResolvedStatically(Boolean includeContextRef)
abstract Function0<XdmValue>
xevaluate(XProcStepConfiguration config)
abstract XdmValue
evaluate(XProcStepConfiguration config)
abstract XProcExpression
cast(SequenceType asType, List<XdmAtomicValue> values)
final Unit
reset()
final Unit
defaultCollection(List<XProcDocument> items)
final Unit
setBinding(QName name, XdmValue value)
final Unit
setStaticBinding(QName name, XProcExpression value)
-
-
Constructor Detail
-
XProcExpression
XProcExpression(XProcStepConfiguration stepConfig, SequenceType asType, Boolean collection, List<XdmAtomicValue> values)
-
-
Method Detail
-
getDetails
final XPathExpressionDetails getDetails()
-
getContextItem
final Object getContextItem()
-
setContextItem
final Unit setContextItem(Object contextItem)
-
getDefaultCollection
final List<XProcDocument> getDefaultCollection()
-
getVariableRefs
final Set<QName> getVariableRefs()
-
getFunctionRefs
final Set<Pair<QName, Integer>> getFunctionRefs()
-
getContextRef
final Boolean getContextRef()
-
getAlwaysDynamic
final Boolean getAlwaysDynamic()
-
getStaticValue
final XdmValue getStaticValue()
-
getStepConfig
final XProcStepConfiguration getStepConfig()
-
getAsType
final SequenceType getAsType()
-
getCollection
final Boolean getCollection()
-
canBeResolvedStatically
final Boolean canBeResolvedStatically(Boolean includeContextRef)
-
xevaluate
abstract Function0<XdmValue> xevaluate(XProcStepConfiguration config)
-
evaluate
abstract XdmValue evaluate(XProcStepConfiguration config)
-
cast
abstract XProcExpression cast(SequenceType asType, List<XdmAtomicValue> values)
-
defaultCollection
final Unit defaultCollection(List<XProcDocument> items)
-
setBinding
final Unit setBinding(QName name, XdmValue value)
-
setStaticBinding
final Unit setStaticBinding(QName name, XProcExpression value)
-
-
-
-