Docmosis API 4.5.0

Uses of Interface
com.docmosis.template.population.DataProvider

Packages that use DataProvider
com.docmosis.document   
com.docmosis.template.population   
com.docmosis.template.population.render   
 

Uses of DataProvider in com.docmosis.document
 

Methods in com.docmosis.document that return DataProvider
 DataProvider RenderRequest.getDataProvider()
          Get the data provider to use
 

Methods in com.docmosis.document with parameters of type DataProvider
static DocumentRenderResult DocumentProcessor.renderDoc(TemplateIdentifier templateId, DataProvider dp, ConversionInstruction instruction, OutputStream streamTo)
          Render the template specified by the given templateId with the given data according to the given instruction.
static DocumentRenderResult DocumentProcessor.renderDoc(File template, File outputFile, DataProvider dp)
          Render the given template to the given output file with the given data.
static DocumentRenderResult DocumentProcessor.renderDoc(File template, File outputFile, DataProvider dp, boolean cleanupDataProvider)
          Render the given template to the given output file with the given data.
static DocumentRenderResult DocumentProcessor.renderDoc(File template, OutputStream outputStream, ConversionFormat format, DataProvider dp)
          Render the given template to the given output stream with the given data.
static DocumentRenderResult DocumentProcessor.renderDoc(File template, OutputStream outputStream, ConversionFormat format, DataProvider dp, boolean cleanupDataProvider)
          Render the given template to the given output stream with the given data.
 RenderRequest RenderRequest.setDataProvider(DataProvider dataProvider)
          Set the data to use for the render
 

Uses of DataProvider in com.docmosis.template.population
 

Subinterfaces of DataProvider in com.docmosis.template.population
 interface MutableDataProvider
          An interface for a data provider that is editable.
 

Classes in com.docmosis.template.population that implement DataProvider
 class CompoundDataProvider
          A DataProvider that provides a "chain" of data providers.
 class DebugDataProvider
          This DataProvider implementation has been added to help with debugging or analysing the process of template population.
 class JSONDataProvider
          A MemoryDataProvider that can load itself from JSON formatted data.
 class KeyedReflectiveDataProvider
           
 class MemoryDataProvider
          An efficient memory based DataProvider.
 class NestingDataProvider
           
 class ReflectiveCollectionDataProvider
           
 class ReflectiveDataProvider
          This data provider uses reflection to try to obtain data from within an arbitrary given object.
 class SQLDataProvider
          Currently the SQL Data Provider doesn't support Image Data being provided by the database.
 class XMLDataProvider
          A data provider that can be converted to or from XML.
 

Methods in com.docmosis.template.population that return DataProvider
 DataProvider CompoundDataProvider.getLastDataProvider()
          Get the last DataProvider in the compounded set of data providers
 DataProvider CompoundDataProvider.getDataProvider(String key, int index)
          Return the value from the first data provider that has a DataProvider for the given key.
 DataProvider DataProvider.getDataProvider(String key, int index)
          Get the data provider contained within this data provider with the given key as a name, and an index.
 DataProvider DataProviderBuilder.getDataProvider()
          Get the data provider that has been built so far.
 DataProvider DebugDataProvider.getDataProvider(String key, int index)
          Log a call to this method and return a new DebugDataProvider
 DataProvider KeyedReflectiveDataProvider.getDataProvider(String key, int index)
           
 DataProvider MemoryDataProvider.getDataProvider(String key, int index)
          Get the data provider contained within this data provider with the given key as a name, and an index.
 DataProvider NestingDataProvider.getDataProvider(String key, int index)
           
 DataProvider ReflectiveCollectionDataProvider.getDataProvider(String fieldName, int idx)
           
abstract  DataProvider ReflectiveDataProvider.getDataProvider(String fieldName, int idx)
          Get the data provider from the reflected delegate.
 

Methods in com.docmosis.template.population with parameters of type DataProvider
 CompoundDataProvider CompoundDataProvider.addDataProvider(DataProvider dp)
          Add a data provider to this compound provider.
 CompoundDataProvider CompoundDataProvider.addDataProviders(DataProvider[] dps)
          Add an array of DataProviders to this compound provider.
 DataProviderBuilder DataProviderBuilder.add(DataProvider dp, String key)
          Add the given data provider to our current data under the given key.
static CompoundDataProvider DataProviderFactory.createCompoundDataProvider(DataProvider[] providers)
          Create a CompoundDataProvider from the given array of DataProviders.
 void MemoryDataProvider.addDataProvider(String key, DataProvider value)
          Add a data provider of the given key at the next available index.
 void MutableDataProvider.addDataProvider(String key, DataProvider dataProvider)
           
 void NestingDataProvider.addDataProvider(String key, DataProvider dataProvider)
           
static void NestingDataProvider.addDataProvider(String key, DataProvider dp, MutableDataProvider building, MutableDataProviderFactory dpFactory)
           
 

Constructors in com.docmosis.template.population with parameters of type DataProvider
NestingDataProvider(DataProvider delegate)
           
NestingDataProvider(DataProvider delegate, MutableDataProviderFactory dpFactory)
           
 

Uses of DataProvider in com.docmosis.template.population.render
 

Methods in com.docmosis.template.population.render that return DataProvider
 DataProvider[] FieldDetails.getDataProviderLineage()
          Get the lineage of DataProviders starting with the data provider that contains the current value, then the parent DataProvider, then the grand parent etc.
 

Constructors in com.docmosis.template.population.render with parameters of type DataProvider
FieldDetails(String fieldName, String fieldValue, String rendererName, int rowNum, Class valueClass, Object valueObject, Class containerClass, Object containerObject, String id, String[] params, DataProvider[] dataProviderLineage)
           
 


Docmosis API 4.5.0

Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.