Class DocumentBuilder
Class DomDestination
Class DynamicContext
Class DynamicError
Class EmptyEnumerator
Class ExtensionFunctionCall
Class NullDestination
Class ParameterDetails
Class Processor
Class QName
Class SchemaManager
Class SchemaValidator
Class Serializer
Class StandardLogger
Class StaticContext
Class StaticError
Class TextWriterDestination
Class TreeProtector
Class XPathCompiler
Class XPathExecutable
Class XPathSelector
Class XQueryCompiler
Class XQueryEvaluator
Class XQueryExecutable
Class XdmAnyFunctionType
Class XdmAnyItemType
Class XdmAnyNodeType
Class XdmAtomicType
Class XdmAtomicValue
Class XdmDestination
Class XdmEmptySequence
Class XdmFunctionItem
Class XdmItem
Class XdmItemType
Class XdmNode
Class XdmNodeKind
Class XdmSequenceType
Class XdmValue
Class XmlDestination
Class Xslt30Transformer
Class XsltCompiler
Class XsltExecutable
Class XsltPackage
Class XsltTransformer
Enum RecoveryPolicy
Enum SchemaValidationMode
Enum TreeModel
Enum WhitespacePolicy
Enum XdmAxis
Interface IMessageListener
Interface IQueryResolver
Interface IResultDocumentHandler
Interface IXdmEnumerator
Interface IXmlLocation
Interface SchemaResolver
public abstract class XmlDestination
An abstract destination for the results of a query or transformation
Note to implementors: To implement a new kind of destination, you need
to supply a method getResult
which returns an implementation of
the JAXP Result
interface. Optionally, if the destination
performs serialization, you can also implement getOutputProperties
,
which returns the properties used for serialization.
Method Summary | |
---|---|
JReceiver |
GetReceiver(net.sf.saxon.event.PipelineConfiguration pipe)
Get a |
JProperties |
GetOutputProperties()
Get a set of |
void |
Close() Close the Destination, releasing any resources that need to be released. |
Method Detail |
---|
public abstract JReceiver GetReceiver(net.sf.saxon.event.PipelineConfiguration pipe)
Get a Result
to which the XML document can be sent as a series
of events. This method is intended primarily for internal use.
The returned value must be an implementation of the JAXP Result
interface that is
recognized by Saxon.
pipe
-
public virtual JProperties GetOutputProperties()
Get a set of Properties
representing the parameters to the serializer.
The default implementation returns an empty set of properties.
public virtual void Close()
Close the Destination, releasing any resources that need to be released.
This method is called by the system on completion of a query or transformation. Some kinds of Destination may need to close an output stream, others might not need to do anything. The default implementation does nothing.