com.ibm.portal.resolver.data
Interface XmlDataSource

All Superinterfaces:
Addressable, DataSource, Disposable, TimeStamped

public interface XmlDataSource
extends DataSource

Implemented by providers of XML data streams. The stream provider must be able to produce XML content as a JAXP source object.

Since:
6.1.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 javax.xml.transform.Source getSource()
          Returns a new JAXP source object that can be used to generate a stream of XML events.
 
Methods inherited from interface com.ibm.portal.resolver.data.DataSource
getContentType, getExpiration
 
Methods inherited from interface com.ibm.portal.resolver.data.Addressable
getParameters, getURI
 
Methods inherited from interface com.ibm.portal.TimeStamped
getCreated, getLastModified
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

getSource

javax.xml.transform.Source getSource()
                                     throws javax.xml.transform.TransformerException,
                                            org.xml.sax.SAXException,
                                            java.io.IOException
Returns a new JAXP source object that can be used to generate a stream of XML events.

Returns:
The source object of the XML events.
Throws:
javax.xml.transform.TransformerException - - if a potential transformation used to generate the source failed
org.xml.sax.SAXException - - if a SAX exception occurred
java.io.IOException - - if an IO exception occurred