net.sf.saxon.type
public class AnyItemType extends Object implements ItemType, Serializable
Method Summary | |
---|---|
AtomicType | getAtomizedItemType() |
static AnyItemType | getInstance()
Factory method to get the singleton instance |
ItemType | getPrimitiveItemType()
Get the primitive item type corresponding to this item type. |
int | getPrimitiveType() |
ItemType | getSuperType(TypeHierarchy th) |
int | hashCode()
Returns a hash code value for the object. |
boolean | isAtomicType()
Determine whether this item type is atomic (that is, whether it can ONLY match
atomic values)
|
boolean | matchesItem(Item item, XPathContext context, boolean allowURIPromotion)
Test whether a given item conforms to this type |
String | toString() |
String | toString(NamePool pool) |
Returns: false: this type can match nodes or atomic values
Parameters: item The item to be tested context allowURIPromotion
Returns: true if the item is an instance of this type; false otherwise