public interface ResultBuilder
Result
object into an AXIOM tree.
Implementations of this interface should be used in the following way:
ResultBuilderFactory
.getResult()
to get an Result
instance.Result
object in the invocation the XSL transformer.#getNode()
to retrieve the root element of the AXIOM tree.release()
when the AXIOM tree is no longer needed or when it
has been fully built.Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
getNode(Charset charset)
Get the result written to the
Result as an OMElement . |
Result |
getResult()
Get a
Result implementation that can be used with an XSL transformer. |
void |
release()
Release any resources associated with this object.
|
Result getResult()
Result
implementation that can be used with an XSL transformer.org.apache.axiom.om.OMElement getNode(Charset charset)
Result
as an OMElement
.
Note that the exact behavior of this methos depends on the specified
ResultBuilderFactory.Output
.charset
- The charset encoding of the data that has been written
to the Result
object. This information should only
be used in conjunction with ResultBuilderFactory.Output.TEXT
.void release()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.