public class ContextItemStaticInfoEE extends ContextItemStaticInfo
Modifier and Type | Field and Description |
---|---|
static ContextItemStaticInfoEE |
ABSENT |
static ContextItemStaticInfoEE |
DEFAULT
Default information when nothing else is known
|
Constructor and Description |
---|
ContextItemStaticInfoEE(ItemType itemType,
boolean maybeUndefined)
Create a ContextItemStaticInfo
|
ContextItemStaticInfoEE(ItemType itemType,
boolean maybeUndefined,
Posture contextItemPosture)
Create a ContextItemStaticInfo
|
Modifier and Type | Method and Description |
---|---|
AccumulatorFn.Phase |
getAccumulatorPhase()
Ask whether the expression is within the select expression or sequence constructor
of an accumulator rule, and whether the rule is for the start or end phase
|
Actor |
getContainer() |
Posture |
getContextItemPosture()
Get the context item posture
|
boolean |
isStrictStreamabilityRules() |
void |
setAccumulatorPhase(AccumulatorFn.Phase phase)
Indicate that the expression is within the select expression or sequence constructor
of an accumulator rule, and whether the rule is for the start or end phase
|
void |
setContainer(Actor container) |
void |
setContextPostureGrounded()
Set streaming posture.
|
void |
setContextPostureStriding()
Set streaming posture.
|
void |
setStrictStreamabilityRules(boolean strictStreamabilityRules) |
getContextItemUType, getContextSettingExpression, getItemType, isParentless, isPossiblyAbsent, setContextSettingExpression, setParentless
public static final ContextItemStaticInfoEE DEFAULT
public static final ContextItemStaticInfoEE ABSENT
public ContextItemStaticInfoEE(ItemType itemType, boolean maybeUndefined)
itemType
- the item type of the context item. If the context item is absent, set this to
ErrorType.getInstance()
.maybeUndefined
- set to true if it is possible (or certain) that the context item will be absent.public ContextItemStaticInfoEE(ItemType itemType, boolean maybeUndefined, Posture contextItemPosture)
itemType
- the item type of the context item. If the context item is absent, set this to
ErrorType.getInstance()
.maybeUndefined
- set to true if it is possible (or certain) that the context item will be absent.contextItemPosture
- the context item posture.public void setContextPostureStriding()
ContextItemStaticInfo
setContextPostureStriding
in class ContextItemStaticInfo
public void setContextPostureGrounded()
ContextItemStaticInfo
setContextPostureGrounded
in class ContextItemStaticInfo
public Actor getContainer()
public void setContainer(Actor container)
public Posture getContextItemPosture()
public boolean isStrictStreamabilityRules()
isStrictStreamabilityRules
in class ContextItemStaticInfo
public void setStrictStreamabilityRules(boolean strictStreamabilityRules)
public void setAccumulatorPhase(AccumulatorFn.Phase phase)
phase
- indicates whether this is the start or end phase, or null to indicate
that the expression is not within an accumulator rulepublic AccumulatorFn.Phase getAccumulatorPhase()
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.