Package net.sf.saxon.type
Interface ItemTypeWithSequenceTypeCache
- All Superinterfaces:
ItemType
- All Known Implementing Classes:
AnyGNodeType,AnyItemType,AnyJNodeType,AnyXNodeType,BuiltInAtomicType,DocumentNodeType,ErrorType,GNodeType,JNodeType,NamedXNodeType,NodeKindType,PortableNamedXNodeType,RootJNodeType,SchemaAttributeType,SchemaElementType,SpecificJNodeType,XNodeType
Extension of the ItemType interface implemented by some item types, to provide
a cache of SequenceType objects based on this item type, with different
occurrence indicators.
-
Method Summary
Modifier and TypeMethodDescriptionone()Get a sequence type representing exactly one instance of this atomic typeGet a sequence type representing one or more instances of this atomic typeGet a sequence type representing one or more instances of this atomic typeGet a sequence type representing zero or one instances of this atomic typeMethods inherited from interface net.sf.saxon.type.ItemType
asChoiceItemType, explainMismatch, getAtomizedItemType, getBasicAlphaCode, getCoercionPlan, getDefaultPriority, getGenre, getNormalizedDefaultPriority, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, matches, normalizeItemType, toExportString
-
Method Details
-
one
SequenceType one()Get a sequence type representing exactly one instance of this atomic type- Returns:
- a sequence type representing exactly one instance of this atomic type
- Since:
- 9.8.0.2
-
zeroOrOne
SequenceType zeroOrOne()Get a sequence type representing zero or one instances of this atomic type- Returns:
- a sequence type representing zero or one instances of this atomic type
- Since:
- 9.8.0.2
-
oneOrMore
SequenceType oneOrMore()Get a sequence type representing one or more instances of this atomic type- Returns:
- a sequence type representing one or more instances of this atomic type
- Since:
- 9.8.0.2
-
zeroOrMore
SequenceType zeroOrMore()Get a sequence type representing one or more instances of this atomic type- Returns:
- a sequence type representing one or more instances of this atomic type
- Since:
- 9.8.0.2
-