| java.lang.Object net.sf.saxon.type.TypeHierarchy
TypeHierarchy | public class TypeHierarchy implements Serializable(Code) | | This class exists to provide answers to questions about the type hierarchy. Because
such questions are potentially expensive, it caches the answers.
|
DISJOINT | final public static int DISJOINT(Code) | | Constant denoting relationship between two types: A is disjoint from B
|
OVERLAPS | final public static int OVERLAPS(Code) | | Constant denoting relationship between two types: A overlaps B
|
SAME_TYPE | final public static int SAME_TYPE(Code) | | Constant denoting relationship between two types: A is the same type as B
|
SUBSUMED_BY | final public static int SUBSUMED_BY(Code) | | Constant denoting relationship between two types: A is subsumed by B
|
SUBSUMES | final public static int SUBSUMES(Code) | | Constant denoting relationship between two types: A subsumes B
|
TypeHierarchy | public TypeHierarchy()(Code) | | |
isSubType | public boolean isSubType(ItemType subtype, ItemType supertype)(Code) | | Determine whether type A is type B or one of its subtypes, recursively
Parameters: subtype - identifies the first type Parameters: supertype - identifies the second type true if the first type is the second type or a (direct orindirect) subtype of the second type |
|
|