Package com.saxonica.ee.config
Class TypeHierarchyEE
- java.lang.Object
-
- net.sf.saxon.type.TypeHierarchy
-
- com.saxonica.ee.config.TypeHierarchyEE
-
public class TypeHierarchyEE extends TypeHierarchy
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 Constructor Description TypeHierarchyEE(Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Affinity
computeContentRelationship(ItemType t1, ItemType t2, java.util.Optional<IntSet> on1, java.util.Optional<IntSet> on2)
Compute the relationship between the allowed content-types of two types-
Methods inherited from class net.sf.saxon.type.TypeHierarchy
applyFunctionCoercion, applyFunctionConversionRules, getConfiguration, getGenericFunctionItemType, getNearestNamedType, inverseRelationship, isSubType, relationship, schemaTypeRelationship, sequenceTypeRelationship
-
-
-
-
Constructor Detail
-
TypeHierarchyEE
public TypeHierarchyEE(Configuration config)
-
-
Method Detail
-
computeContentRelationship
protected Affinity computeContentRelationship(ItemType t1, ItemType t2, java.util.Optional<IntSet> on1, java.util.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
-
-