Package org.apache.synapse.util.jaxp
Class StreamSourceBuilder
- java.lang.Object
-
- org.apache.synapse.util.jaxp.StreamSourceBuilder
-
- All Implemented Interfaces:
SourceBuilder
public class StreamSourceBuilder extends Object implements SourceBuilder
SourceBuilder
implementation that serializes the AXIOM tree toOverflowBlob
object and produces aStreamSource
.
-
-
Constructor Summary
Constructors Constructor Description StreamSourceBuilder(SynapseEnvironment synEnv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Source
getSource(org.apache.axiom.om.OMElement node)
Get aSource
implementation for the given AXIOM tree.void
release()
Release any resources associated with this object.
-
-
-
Constructor Detail
-
StreamSourceBuilder
public StreamSourceBuilder(SynapseEnvironment synEnv)
-
-
Method Detail
-
getSource
public Source getSource(org.apache.axiom.om.OMElement node)
Description copied from interface:SourceBuilder
Get aSource
implementation for the given AXIOM tree.- Specified by:
getSource
in interfaceSourceBuilder
- Parameters:
node
- the root node of the AXIOM tree- Returns:
- the source object
-
release
public void release()
Description copied from interface:SourceBuilder
Release any resources associated with this object.- Specified by:
release
in interfaceSourceBuilder
-
-