public class ContextItemStaticInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ContextItemStaticInfo |
ABSENT |
static ContextItemStaticInfo |
DEFAULT
Default information when nothing else is known
|
Constructor and Description |
---|
ContextItemStaticInfo(ItemType itemType,
boolean maybeUndefined)
Create a ContextItemStaticInfo
|
Modifier and Type | Method and Description |
---|---|
UType |
getContextItemUType()
Get the static type of the context item as a UType
|
Expression |
getContextSettingExpression() |
ItemType |
getItemType()
Get the static type of the context item.
|
boolean |
isPossiblyAbsent()
Ask whether it is possible that the context item is absent
|
boolean |
isStrictStreamabilityRules() |
void |
setContextPostureStriding()
Set streaming posture.
|
void |
setContextSettingExpression(Expression setter) |
public static final ContextItemStaticInfo DEFAULT
public static final ContextItemStaticInfo ABSENT
public ContextItemStaticInfo(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 void setContextSettingExpression(Expression setter)
public Expression getContextSettingExpression()
public ItemType getItemType()
public UType getContextItemUType()
public boolean isPossiblyAbsent()
public void setContextPostureStriding()
public boolean isStrictStreamabilityRules()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.