Package org.apache.synapse.util.jaxp
Interface SourceBuilder
-
- All Known Implementing Classes:
AXIOMSourceBuilder,DOOMSourceBuilder,StreamSourceBuilder
public interface SourceBuilderInterface encapsulating a strategy to transform an AXIOM tree into aSourceobject. Implementations of this interface should be used in the following way:- Create a new instance using the appropriate
SourceBuilderFactory. - Call
getSource(OMElement)to get aSourceobject for the AXIOM tree. - Use the
Sourceobject in the invocation the XSL transformer or schema validator, etc. - Call
release().
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-