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 function items and 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 AffinitycomputeContentRelationship(ItemType t1, ItemType t2, java.util.Optional<IntSet> on1, java.util.Optional<IntSet> on2)Compute the relationship between the allowed content-types of two typesItemTypegetGenericFunctionItemType()-
Methods inherited from class net.sf.saxon.type.TypeHierarchy
applyFunctionCoercion, applyFunctionConversionRules, getConfiguration, inverseRelationship, isSubType, relationship, schemaTypeRelationship, sequenceTypeRelationship
-
-
-
-
Constructor Detail
-
TypeHierarchyEE
public TypeHierarchyEE(Configuration config)
-
-
Method Detail
-
getGenericFunctionItemType
public ItemType getGenericFunctionItemType()
- Overrides:
getGenericFunctionItemTypein classTypeHierarchy
-
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:
computeContentRelationshipin classTypeHierarchy- Parameters:
t1- the first typet2- the second typeson1- the set of element names allowed by the first typeon2- the set of element names allowed by the second type- Returns:
- the relationship (same type, subsumes, overlaps, subsumed-by)
-
-