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 | isAtomizable()
Ask whether values of this type are atomizable |
| boolean | matchesItem(Item item, boolean allowURIPromotion, Configuration config)
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
Returns: true unless it is known that these items will be elements with element-only content, in which case return false
Parameters: item The item to be tested allowURIPromotion config
Returns: true if the item is an instance of this type; false otherwise