| java.lang.Object net.sf.saxon.type.AnyItemType
AnyItemType | public class AnyItemType implements ItemType,Serializable(Code) | | An implementation of ItemType that matches any item (node or atomic value)
|
getInstance | public static AnyItemType getInstance()(Code) | | Factory method to get the singleton instance
|
getPrimitiveItemType | public ItemType getPrimitiveItemType()(Code) | | Get the primitive item type corresponding to this item type. For item(),
this is Type.ITEM. For node(), it is Type.NODE. For specific node kinds,
it is the value representing the node kind, for example Type.ELEMENT.
For anyAtomicValue it is Type.ATOMIC_VALUE. For numeric it is Type.NUMBER.
For other atomic types it is the primitive type as defined in XML Schema,
except that INTEGER is considered to be a primitive type.
|
getPrimitiveType | public int getPrimitiveType()(Code) | | |
hashCode | public int hashCode()(Code) | | Returns a hash code value for the object.
|
isAtomicType | public boolean isAtomicType()(Code) | | Determine whether this item type is atomic (that is, whether it can ONLY match
atomic values)
false: this type can match nodes or atomic values |
matchesItem | public boolean matchesItem(Item item, XPathContext context)(Code) | | Test whether a given item conforms to this type
Parameters: item - The item to be tested Parameters: context - true if the item is an instance of this type; false otherwise |
|
|