Saxon.Api

Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class WhitespacePolicy

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmArray

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmExternalObjectValue

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmMap

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver

 

Saxon.Api
Class XdmExternalObjectValue


public class XdmExternalObjectValue
extends XdmItem

The class XdmExternalObject represents an XDM item that wraps an external .NET object. As such, it is outside the scope of the XDM specification (but permitted as an extension).


Constructor Summary
XdmExternalObjectValue(object o)

Constructor to create an XdmExternalObject that wraps a supplied .Net object

 
Method Summary
 bool IsAtomic()

Determine whether the item is an atomic value

 object GetExternalObject()

Get the wrapped .NET object

 string ToString()

Get the result of converting the external value to a string.

 
Constructor Detail

XdmExternalObjectValue

public XdmExternalObjectValue(object o)

Constructor to create an XdmExternalObject that wraps a supplied .Net object

Parameters:
o -
the supplied .NET object

Method Detail

IsAtomic

public override bool IsAtomic()

Determine whether the item is an atomic value

Returns:
false (the item is not an atomic value)

GetExternalObject

public object GetExternalObject()

Get the wrapped .NET object

Returns:
the wrapped object

ToString

public override string ToString()

Get the result of converting the external value to a string.

Returns:
the result of applying ToString() to the wrapped external object