public class StreamResultBuilder extends Object implements ResultBuilder
Constructor and Description |
---|
StreamResultBuilder(SynapseEnvironment synEnv,
ResultBuilderFactory.Output expectedOutput) |
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 StreamResultBuilder(SynapseEnvironment synEnv, ResultBuilderFactory.Output expectedOutput)
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.