net.sf.saxon.s9api
class ConstructedItemType extends ItemType
Constructor Summary | |
---|---|
protected | ConstructedItemType(ItemType underlyingType, Processor processor)
Protected constructor |
Method Summary | |
---|---|
protected Processor | getProcessor()
Get the underlying Processor |
ItemType | getUnderlyingItemType()
Method to get the underlying Saxon implementation object
This gives access to Saxon methods that may change from one release to another. |
boolean | matches(XdmItem item)
Determine whether this item type matches a given item.
|
boolean | subsumes(ItemType other)
Determine whether this ItemType subsumes another ItemType. |
Parameters: underlyingType the Saxon internal item type. Must not be null. processor The s9api processor Must not be null
Returns: the processor used to create this ItemType. This will be null if the ItemType is one of the three static constant item types ConstructedItemType, ConstructedItemType, or ConstructedItemType
This gives access to Saxon methods that may change from one release to another.
Returns: the underlying Saxon implementation object
Parameters: item the item to be tested against this item type
Returns: true if the item matches this item type, false if it does not match.
A.subsumes(B) is true if every value that matches the ItemType B also matches
the ItemType A.Parameters: other the other ItemType
Returns: true if this ItemType subsumes the other ItemType. This includes the case where A and B
represent the same ItemType.
Since: 9.1