org.apache.synapse.util.jaxp
Class AXIOMSourceBuilder

java.lang.Object
  extended by org.apache.synapse.util.jaxp.AXIOMSourceBuilder
All Implemented Interfaces:
SourceBuilder

public class AXIOMSourceBuilder
extends Object
implements SourceBuilder

SourceBuilder implementation that transforms the AXIOM tree to SAX using OMSource.


Constructor Summary
AXIOMSourceBuilder()
           
 
Method Summary
 OMSource 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

AXIOMSourceBuilder

public AXIOMSourceBuilder()
Method Detail

getSource

public OMSource 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.