public class GlobalContextRequirement
extends java.lang.Object
Constructor and Description |
---|
GlobalContextRequirement() |
Modifier and Type | Method and Description |
---|---|
void |
addRequiredItemType(ItemType requiredItemType) |
void |
export(ExpressionPresenter out) |
protected void |
exportAccumulatorUsages(ExpressionPresenter out) |
Expression |
getDefaultValue() |
ItemType |
getRequiredItemType() |
java.util.List<ItemType> |
getRequiredItemTypes() |
boolean |
isAbsentFocus() |
boolean |
isExternal()
Ask whether (in XQuery) the global context item is declared as external
|
boolean |
isMayBeOmitted() |
void |
setAbsentFocus(boolean absent) |
void |
setDefaultValue(Expression defaultValue) |
void |
setExternal(boolean external)
Say whether (in XQuery) the global context item is declared as external
|
void |
setMayBeOmitted(boolean mayOmit) |
public ItemType getRequiredItemType()
public java.util.List<ItemType> getRequiredItemTypes()
public void addRequiredItemType(ItemType requiredItemType)
public Expression getDefaultValue()
public void setDefaultValue(Expression defaultValue)
public void export(ExpressionPresenter out) throws XPathException
XPathException
protected void exportAccumulatorUsages(ExpressionPresenter out)
public void setAbsentFocus(boolean absent)
public boolean isAbsentFocus()
public void setMayBeOmitted(boolean mayOmit)
public boolean isMayBeOmitted()
public void setExternal(boolean external)
external
- true if the global context item is declared as externalpublic boolean isExternal()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.