|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.type.SchemaType
net.sf.saxon.type.SimpleType
net.sf.saxon.type.AtomicType
net.sf.saxon.type.ExternalObjectType
This class represents the type of an external Java object returned by an extension function.
Field Summary |
Fields inherited from class net.sf.saxon.type.SimpleType |
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNION |
Fields inherited from class net.sf.saxon.type.SchemaType |
ALL_DERIVATIONS, DERIVE_BY_EXTENSION, DERIVE_BY_LIST, DERIVE_BY_RESTRICTION, DERIVE_BY_SUBSTITUTION, DERIVE_BY_UNION, finalProhibitions, INVALID, UNVALIDATED, VALIDATED, VALIDATING, validationPhase |
Constructor Summary | |
ExternalObjectType(Class javaClass)
|
Method Summary | |
int |
getFingerprint()
Get the fingerprint of the name of this type |
ItemType |
getSuperType()
Get the type from which this item type is derived by restriction. |
boolean |
isBuiltIn()
Test whether this is a built-in type |
boolean |
matchesItem(Item item)
Test whether a given item conforms to this type |
String |
toString()
Produce string representation for use in diagnostic output |
void |
validateContent(CharSequence value,
NamespaceResolver namespaceResolver)
Check whether a given input string is valid according to this SimpleType |
Methods inherited from class net.sf.saxon.type.AtomicType |
getMax, getMin, getPattern, getPrimitiveType, getTypedValue, isMaxInclusive, isMinInclusive, isSameType, setIsBuiltIn |
Methods inherited from class net.sf.saxon.type.SimpleType |
addFacet, getBuiltInBaseType, getFacet, getFacetList, getFacets, getFacets, getLocalFacets, getTypedValue, isListType, isNamespaceSensitive, isSimpleType, setFacets, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExternalObjectType(Class javaClass)
Method Detail |
public boolean isBuiltIn()
AtomicType
isBuiltIn
in class AtomicType
public boolean matchesItem(Item item)
AtomicType
matchesItem
in interface ItemType
matchesItem
in class AtomicType
item
- The item to be tested
public void validateContent(CharSequence value, NamespaceResolver namespaceResolver) throws ValidationException
AtomicType
validateContent
in class AtomicType
ValidationException
- if the value is not validpublic ItemType getSuperType()
AtomicType
getSuperType
in interface ItemType
getSuperType
in class AtomicType
public int getFingerprint()
SchemaType
getFingerprint
in class SchemaType
public String toString()
AtomicType
toString
in interface ItemType
toString
in class AtomicType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |