org.apache.synapse.util.jaxp
Class StreamSourceBuilder

java.lang.Object
  extended by 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.


Constructor Summary
StreamSourceBuilder(SynapseEnvironment synEnv)
           
 
Method Summary
 Source getSource(OMElement node)
          Get a Source implementation for the given AXIOM tree.
 void release()
          Release any resources associated with this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSourceBuilder

public StreamSourceBuilder(SynapseEnvironment synEnv)
Method Detail

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.