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
SourceBuilderimplementation that serializes the AXIOM tree toOverflowBlobobject and produces aStreamSource.
-
-
Constructor Summary
Constructors Constructor Description StreamSourceBuilder(SynapseEnvironment synEnv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcegetSource(org.apache.axiom.om.OMElement node)Get aSourceimplementation for the given AXIOM tree.voidrelease()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:SourceBuilderGet aSourceimplementation for the given AXIOM tree.- Specified by:
getSourcein interfaceSourceBuilder- Parameters:
node- the root node of the AXIOM tree- Returns:
- the source object
-
release
public void release()
Description copied from interface:SourceBuilderRelease any resources associated with this object.- Specified by:
releasein interfaceSourceBuilder
-
-