net.protempore.utils.xml
Interface XmlSourceCreator


public interface XmlSourceCreator

A factory-type class for creating a single XML source repeatedly.

Instances of this class are intended to be used with XmlTransformer instances that might reuse an XML resource multiple times. If the source object returned is safe to be used repeatedly and thread-safe, then it is permitted to return the same instance repeatedly instead of a new source that represents the same underlying XML resource.


Method Summary
 javax.xml.transform.Source createSource()
          Create a source, which should only be used once.
 

Method Detail

createSource

javax.xml.transform.Source createSource()
Create a source, which should only be used once.

Returns:
The source.