Saxon.Api
Class XdmAnyItemType
-
public class XdmAnyItemType
- extends XdmItemType
Singleton class representing the item type item(), which matches any item.
Field Summary |
|
|---|---|
| static XdmAnyItemType | Instance
The singleton instance of this class: an |
Method Summary |
|
|---|---|
| bool | Matches(XdmItem item) Determine whether this item type matches a given item. |
| bool | Subsumes(XdmItemType other)
Determine whether this ItemType subsumes another ItemType. Specifically,
|
Field Detail
Instance
The singleton instance of this class: an XdmItemType corresponding to the
item type item(), which matches any item.
Method Detail
Subsumes
Determine whether this ItemType subsumes another ItemType. Specifically,
A.subsumes(B) is true if every value that matches the ItemType B also matches
the ItemType A.
Parameters:
other - the other ItemTypeReturns:
Determine whether this item type matches a given item.
Parameters:
item- the item to be tested against this item typeReturns: