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
to OverflowBlob
object and produces a StreamSource
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamSourceBuilder
public StreamSourceBuilder(SynapseEnvironment synEnv)
getSource
public Source getSource(OMElement node)
- Description copied from interface:
SourceBuilder
- Get a
Source
implementation for the given AXIOM tree.
- Specified by:
getSource
in interface SourceBuilder
- 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 interface SourceBuilder
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.