Package com.adobe.forms.common.service
Interface FormDataProviderRegistry
-
public interface FormDataProviderRegistry
Registry for maintaining the implementation of {DataProvider} and {DataXMLProvider}
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrefillData
getDataFromService(DataOptions options)
Returns the data Stream given Data Options.java.util.List<DataProviderBase>
getProviders()
Returns the implementations of DataProviderBase registered for getting the data xml.
-
-
-
Method Detail
-
getDataFromService
PrefillData getDataFromService(DataOptions options) throws FormsException
Returns the data Stream given Data Options. If the Service Name is provided in the options then that particular service is used to return the data otherwise all the DataProvider implementations are iterated to return the data and the iteration stops when first implementation returns a non null data.- Parameters:
options
- DataOptions for returning the data.- Returns:
- prefill data that can be used to get the data.
- Throws:
FormsException
-
getProviders
java.util.List<DataProviderBase> getProviders()
Returns the implementations of DataProviderBase registered for getting the data xml.- Returns:
- List of DataProviderBase implementations
-
-