Package net.sf.saxon.type
Class ExternalObjectType
java.lang.Object
net.sf.saxon.type.AnyExternalObjectType
net.sf.saxon.type.ExternalObjectType
- All Implemented Interfaces:
ItemType
- Direct Known Subclasses:
JavaExternalObjectType
This class represents the type of an external object returned by
an extension function, or supplied as an external variable/parameter.
-
Field Summary
Fields inherited from class net.sf.saxon.type.AnyExternalObjectType
THE_INSTANCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getName()
Get the name of this type.abstract String
Get the target namespace of this type.abstract StructuredQName
Get the name of this typefinal boolean
Ask whether this is a plain type (a type whose instances are always atomic values)toString()
Methods inherited from class net.sf.saxon.type.AnyExternalObjectType
getAtomizedItemType, getBasicAlphaCode, getDefaultPriority, getGenre, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, matches
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.saxon.type.ItemType
explainMismatch, getFullAlphaCode, getNormalizedDefaultPriority, toExportString
-
Constructor Details
-
ExternalObjectType
public ExternalObjectType()
-
-
Method Details
-
getName
Get the name of this type.- Returns:
- the fully qualified name of the Java or .NET class.
-
getTargetNamespace
Get the target namespace of this type. For Java this is alwaysNamespaceConstant.JAVA_TYPE
. For .net it is alwaysNamespaceConstant.DOT_NET_TYPE
- Returns:
- the target namespace of this type definition.
-
getTypeName
Get the name of this type- Returns:
- a name whose namespace indicates the space of Java or .net classes, and whose local name is derived from the fully qualified name of the Java or .net class
-
isPlainType
public final boolean isPlainType()Ask whether this is a plain type (a type whose instances are always atomic values)- Specified by:
isPlainType
in interfaceItemType
- Overrides:
isPlainType
in classAnyExternalObjectType
- Returns:
- false. External object types are not considered to be atomic types
-
toString
-