Package org.apache.synapse.util.jaxp
Class AXIOMSourceBuilder
- java.lang.Object
-
- 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 usingOMSource
.
-
-
Constructor Summary
Constructors Constructor Description AXIOMSourceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axiom.om.impl.jaxp.OMSource
getSource(org.apache.axiom.om.OMElement node)
Get aSource
implementation for the given AXIOM tree.void
release()
Release any resources associated with this object.
-
-
-
Method Detail
-
getSource
public org.apache.axiom.om.impl.jaxp.OMSource 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
-
-