public class AnyExternalObjectType extends java.lang.Object implements ItemType
ItemType.WithSequenceTypeCache| Modifier and Type | Field and Description |
|---|---|
static AnyExternalObjectType |
THE_INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
AnyExternalObjectType() |
| Modifier and Type | Method and Description |
|---|---|
AtomicType |
getAtomizedItemType()
Get the item type of the atomic values that will be produced when an item
of this type is atomized
|
java.lang.String |
getBasicAlphaCode()
Get an alphabetic code representing the type, or at any rate, the nearest built-in type
from which this type is derived.
|
double |
getDefaultPriority()
Get the default priority when this ItemType is used as an XSLT pattern
|
Genre |
getGenre()
Determine the Genre (top-level classification) of this type
|
ItemType |
getPrimitiveItemType()
Get the primitive item type corresponding to this item type.
|
int |
getPrimitiveType()
Get the primitive type corresponding to this item type.
|
UType |
getUType()
Get the corresponding
UType. |
boolean |
isAtomicType()
Determine whether this item type is an atomic type
|
boolean |
isAtomizable(TypeHierarchy th)
Ask whether values of this type are atomizable
|
boolean |
isPlainType()
Determine whether this item type is a plain type (that is, whether it can ONLY match
atomic values)
|
boolean |
matches(Item item,
TypeHierarchy th)
Test whether a given item conforms to this type
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexplainMismatch, getFullAlphaCode, getNormalizedDefaultPriority, isTrueItemType, toExportString, toStringpublic static AnyExternalObjectType THE_INSTANCE
public boolean isAtomicType()
ItemTypeisAtomicType in interface ItemTypepublic boolean matches(Item item, TypeHierarchy th) throws XPathException
ItemTypematches in interface ItemTypeitem - The item to be testedth - The type hierarchy cache. Currently used only when matching function items.XPathExceptionpublic boolean isPlainType()
ItemTypeisPlainType in interface ItemTypepublic int getPrimitiveType()
ItemTypegetPrimitiveType in interface ItemTypepublic java.lang.String getBasicAlphaCode()
getBasicAlphaCode in interface ItemTypepublic ItemType getPrimitiveItemType()
ItemTypegetPrimitiveItemType in interface ItemTypepublic UType getUType()
ItemTypeUType. A UType is a union of primitive item
types.public AtomicType getAtomizedItemType()
ItemTypegetAtomizedItemType in interface ItemTypepublic boolean isAtomizable(TypeHierarchy th)
ItemTypeisAtomizable in interface ItemTypeth - the type hierarchy cachepublic Genre getGenre()
ItemTypepublic double getDefaultPriority()
getDefaultPriority in interface ItemTypeCopyright (c) 2004-2021 Saxonica Limited. All rights reserved.