ItemType.BuiltInAtomicItemType
ANY_ARRAY, ANY_ATOMIC_VALUE, ANY_FUNCTION, ANY_ITEM, ANY_MAP, ANY_NODE, ANY_URI, ATTRIBUTE_NODE, BASE64_BINARY, BOOLEAN, BYTE, COMMENT_NODE, DATE, DATE_TIME, DATE_TIME_STAMP, DAY_TIME_DURATION, DECIMAL, DOCUMENT_NODE, DOUBLE, DURATION, ELEMENT_NODE, ENTITY, ERROR, FLOAT, G_DAY, G_MONTH, G_MONTH_DAY, G_YEAR, G_YEAR_MONTH, HEX_BINARY, ID, IDREF, INT, INTEGER, LANGUAGE, LONG, NAME, NAMESPACE_NODE, NCNAME, NEGATIVE_INTEGER, NMTOKEN, NON_NEGATIVE_INTEGER, NON_POSITIVE_INTEGER, NORMALIZED_STRING, NOTATION, NUMERIC, POSITIVE_INTEGER, PROCESSING_INSTRUCTION_NODE, QNAME, SHORT, STRING, TEXT_NODE, TIME, TOKEN, underlyingType, UNSIGNED_BYTE, UNSIGNED_INT, UNSIGNED_LONG, UNSIGNED_SHORT, UNTYPED_ATOMIC, YEAR_MONTH_DURATION
Constructor and Description |
---|
BuiltInAtomicItemType(BuiltInAtomicType underlyingType,
ConversionRules conversionRules) |
Modifier and Type | Method and Description |
---|---|
ConversionRules |
getConversionRules()
Get the conversion rules implemented by this type.
|
ItemType |
getUnderlyingItemType()
Method to get the underlying Saxon implementation object
|
static ItemType.BuiltInAtomicItemType |
makeVariant(ItemType.BuiltInAtomicItemType type,
ConversionRules conversionRules) |
boolean |
matches(XdmItem item)
Determine whether this item type matches a given item.
|
boolean |
subsumes(ItemType other)
Determine whether this ItemType subsumes another ItemType.
|
equals, getTypeName, hashCode, toString
public BuiltInAtomicItemType(BuiltInAtomicType underlyingType, ConversionRules conversionRules)
public static ItemType.BuiltInAtomicItemType makeVariant(ItemType.BuiltInAtomicItemType type, ConversionRules conversionRules)
public ConversionRules getConversionRules()
ItemType
getConversionRules
in class ItemType
public boolean matches(XdmItem item)
ItemType
public boolean subsumes(ItemType other)
ItemType
A.subsumes(B)
is true if every value that matches the ItemType B also matches
the ItemType A.public ItemType getUnderlyingItemType()
ItemType
This gives access to Saxon methods that may change from one release to another.
getUnderlyingItemType
in class ItemType
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.