Package org.apache.synapse.util.jaxp
Interface SourceBuilder
-
- All Known Implementing Classes:
AXIOMSourceBuilder
,DOOMSourceBuilder
,StreamSourceBuilder
public interface SourceBuilder
Interface encapsulating a strategy to transform an AXIOM tree into aSource
object. Implementations of this interface should be used in the following way:- Create a new instance using the appropriate
SourceBuilderFactory
. - Call
getSource(OMElement)
to get aSource
object for the AXIOM tree. - Use the
Source
object 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 Source
getSource(org.apache.axiom.om.OMElement node)
Get aSource
implementation for the given AXIOM tree.void
release()
Release any resources associated with this object.
-