public class AXIOMResultBuilder extends Object implements ResultBuilder
ResultBuilder
implementation that relies on OMContainer.getSAXResult()
.Constructor and Description |
---|
AXIOMResultBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
getNode(Charset charset)
Get the result written to the
Result as an OMElement . |
SAXResult |
getResult()
Get a
Result implementation that can be used with an XSL transformer. |
void |
release()
Release any resources associated with this object.
|
public SAXResult 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.