Package com.adobe.forms.common.service
Interface FormDataXMLProviderRegistry
-
public interface FormDataXMLProviderRegistry
Registry for maintaining the implementation of {DataXMLProvider} and {FormDataXMLProvider}
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getDataXMLFromService(java.lang.String dataRef)
Deprecated.java.io.InputStream
getDataXMLStreamFromService(DataXMLOptions options)
Returns the data XML Stream given Data XML Options.java.util.List<DataXMLProvider>
getProviders()
Returns the implementations of DataXMLProvider registered for getting the data xml.
-
-
-
Method Detail
-
getDataXMLFromService
java.lang.String getDataXMLFromService(java.lang.String dataRef) throws FormsException
Deprecated.Returns the data XML given a URL for the data. It calls all the implementation of FormDataXMLProvider and returns the non null data returned by the first implementation- Throws:
FormsException
-
getDataXMLStreamFromService
java.io.InputStream getDataXMLStreamFromService(DataXMLOptions options) throws FormsException
Returns the data XML Stream given Data XML Options. If the Service Name is provided in the options then that particular service is used to return the data otherwise all the DataXMLProvider implementations are iterated to return the data and the iteration stops when first implementation returns a non null data.- Parameters:
options
- DataXMLOptions for returning the data- Returns:
- input stream that can be used to get the data xml
- Throws:
FormsException
-
getProviders
java.util.List<DataXMLProvider> getProviders()
Returns the implementations of DataXMLProvider registered for getting the data xml.- Returns:
- List of DataXMLProvider implementations
-
-