net.sf.saxon.dotnet
public class DotNetObjectValue extends ObjectValue
typeLabelEMPTY_CLASS_ARRAY, INDETERMINATE_ORDERINGEMPTY_VALUE_ARRAY| Constructor and Description |
|---|
DotNetObjectValue(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
ConversionResult |
convertPrimitive(BuiltInAtomicType requiredType,
boolean validate,
XPathContext context)
Convert to target data type
|
ItemType |
getItemType(TypeHierarchy th)
Determine the data type of the expression
|
copyAsSubType, displayTypeName, effectiveBooleanValue, equals, getObject, getPrimitiveType, getSchemaComparable, getStringValue, getXPathComparable, hashCode, setValueasAtomic, checkPermittedContents, convert, convert, getCardinality, getComponent, getLength, getStringValueCS, getTypedValue, getTypeLabel, isNaN, itemAt, iterate, process, setTypeLabel, subsequence, toStringasItem, asItem, asIterator, asValue, convertToJava, fromItem, getCanonicalLexicalRepresentation, getIterator, iterate, makeQNameValue, reduce, stringToNumberpublic ConversionResult convertPrimitive(BuiltInAtomicType requiredType, boolean validate, XPathContext context)
convertPrimitive in class ObjectValuerequiredType - the required atomic type. This must either be a primitive type, or a built-in
type derived from the same primitive type as this atomic value.validate - true if validation is required. If set to false, the caller guarantees that
the value is valid for the target data type, and that further validation
is therefore not required.
Note that a validation failure may be reported even if validation was not requested.context - The conversion context to be used. This is required at present only when converting to
xs:Name or similar types: it determines the NameChecker to be used.public ItemType getItemType(TypeHierarchy th)
getItemType in class ObjectValueth - the type hierarchy cache