public class DOOMResultBuilder extends Object implements ResultBuilder
ResultBuilder
implementation that produces a DOMResult
with
an empty DOOM document. It reimports the document as a normal AXIOM tree
using ElementHelper.importOMElement(OMElement, org.apache.axiom.om.OMFactory)
.Constructor and Description |
---|
DOOMResultBuilder() |
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.
|
public Result getResult()
ResultBuilder
Result
implementation that can be used with an XSL transformer.getResult
in interface ResultBuilder
public org.apache.axiom.om.OMElement getNode(Charset charset)
ResultBuilder
Result
as an OMElement
.
Note that the exact behavior of this methos depends on the specified
ResultBuilderFactory.Output
.getNode
in interface ResultBuilder
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
.public void release()
ResultBuilder
release
in interface ResultBuilder
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.