Package com.saxonica.ee.config
Class TypeHierarchyEE
java.lang.Object
net.sf.saxon.type.TypeHierarchy
com.saxonica.ee.config.TypeHierarchyEE
Refinement of the TypeHierarchy class to handle schema-aware types such as schema-element(A).
-
Field Summary
Fields inherited from class net.sf.saxon.type.TypeHierarchy
config
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.sf.saxon.type.TypeHierarchy
applyFunctionCoercion, applyFunctionConversionRules, getConfiguration, getGenericFunctionItemType, getNearestNamedType, inverseRelationship, isSubType, relationship, schemaTypeRelationship, sequenceTypeRelationship
-
Constructor Details
-
TypeHierarchyEE
-
-
Method Details
-
computeContentRelationship
protected Affinity computeContentRelationship(ItemType t1, ItemType t2, Optional<IntSet> on1, Optional<IntSet> on2) Compute the relationship between the allowed content-types of two types- Overrides:
computeContentRelationship
in classTypeHierarchy
- Parameters:
t1
- the first typet2
- the second typeon1
- the set of element names allowed by the first typeon2
- the set of element names allowed by the second type- Returns:
- the relationship, as one of the constants
Affinity.SAME_TYPE
,Affinity.SUBSUMES
,Affinity.SUBSUMED_BY
,Affinity.DISJOINT
,Affinity.OVERLAPS
-