Class DocumentBuilder
Class DomDestination
Class DynamicError
Class NullDestination
Class Processor
Class QName
Class SchemaManager
Class SchemaValidator
Class SequenceEnumerator
Class Serializer
Class StaticError
Class TextWriterDestination
Class XPathCompiler
Class XPathExecutable
Class XPathSelector
Class XQueryCompiler
Class XQueryEvaluator
Class XQueryExecutable
Class XdmAtomicValue
Class XdmDestination
Class XdmEmptySequence
Class XdmItem
Class XdmNode
Class XdmValue
Class XmlDestination
Class XsltCompiler
Class XsltExecutable
Class XsltTransformer
Enum RecoveryPolicy
Enum SchemaValidationMode
Enum TreeModel
Enum WhitespacePolicy
Enum XdmAxis
Interface IMessageListener
Interface IQueryResolver
Interface IResultDocumentHandler
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 | |
---|---|
JResult |
GetResult()
Get a |
JProperties |
GetOutputProperties()
Get a set of |
void |
Close() Close the Destination, releasing any resources that need to be released. |
Method Detail |
---|
public JResult GetResult()
Get a Result
to which the XML document can be sent as a series
of events.
This must be an implementation of the JAXP Result
interface that is
recognized by Saxon.
public JProperties GetOutputProperties()
Get a set of Properties
representing the parameters to the serializer.
The default implementation returns an empty set of properties.
public 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.