| 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
|
double |
getDefaultPriority() |
static AnyItemType |
getInstance()
Factory method to get the singleton instance
|
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. |
int |
hashCode()
Returns a hash code value for the object.
|
boolean |
isAtomicType()
Determine whether this item type is an atomic type
|
boolean |
isAtomizable()
Ask whether values of this type are atomizable
|
boolean |
isPlainType()
Determine whether this item type is atomic (that is, whether it can ONLY match
atomic values)
|
boolean |
matches(Item item,
TypeHierarchy th)
Test whether a given item conforms to this type
|
String |
toString() |
void |
visitNamedSchemaComponents(SchemaComponentVisitor visitor)
Visit all the schema components used in this ItemType definition
|
public static AnyItemType getInstance()
public UType getUType()
UType. A UType is a union of primitive item
types.public boolean isAtomicType()
isAtomicType in interface ItemTypepublic boolean isPlainType()
isPlainType in interface ItemTypepublic boolean matches(Item item, TypeHierarchy th)
public ItemType getPrimitiveItemType()
getPrimitiveItemType in interface ItemTypepublic int getPrimitiveType()
ItemTypegetPrimitiveType in interface ItemTypepublic AtomicType getAtomizedItemType()
ItemTypegetAtomizedItemType in interface ItemTypepublic boolean isAtomizable()
isAtomizable in interface ItemTypepublic void visitNamedSchemaComponents(SchemaComponentVisitor visitor) throws XPathException
visitNamedSchemaComponents in interface ItemTypevisitor - the visitor class to be called when each component is visitedXPathException - if an error occurspublic double getDefaultPriority()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.