|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.type.AnyItemType
public class AnyItemType
An implementation of ItemType that matches any item (node or atomic value)
Method Summary | |
---|---|
static AnyItemType |
getInstance()
Factory method to get the singleton instance |
int |
getPrimitiveType()
Get the primitive type corresponding to this item type. |
ItemType |
getSuperType()
Get the type from which this item type is derived by restriction. |
boolean |
isSameType(ItemType other)
Test whether this is the same type as another ItemType. |
boolean |
matchesItem(Item item)
Test whether a given item conforms to this type |
String |
toString()
Produce a representation of this type name for use in error messages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static AnyItemType getInstance()
public boolean matchesItem(Item item)
matchesItem
in interface ItemType
item
- The item to be tested
public ItemType getSuperType()
ItemType
getSuperType
in interface ItemType
public int getPrimitiveType()
ItemType
getPrimitiveType
in interface ItemType
public String toString()
ItemType
toString
in interface ItemType
toString
in class Object
public boolean isSameType(ItemType other)
ItemType
isSameType
in interface ItemType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |