|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.docmosis.template.population.ReflectiveDataProvider
com.docmosis.template.population.ReflectiveCollectionDataProvider
Nested Class Summary |
Nested classes inherited from class com.docmosis.template.population.ReflectiveDataProvider |
ReflectiveDataProvider.DataFormatManager |
Field Summary | |
protected Collection |
delegateCollection
|
Fields inherited from class com.docmosis.template.population.ReflectiveDataProvider |
dataFormatManager, forgiving, METHOD_REFLECTION_HELPER, reflectedDelegate, reflectedDelegateClass |
Constructor Summary | |
protected |
ReflectiveCollectionDataProvider(Object delegate,
boolean forgiving,
ReflectiveDataProvider.DataFormatManager dataFormatManager)
|
Method Summary | |
boolean |
getBoolean(String fieldName)
Get the boolean value from the reflected delegate. |
DataProvider |
getDataProvider(String fieldName,
int idx)
Get the data provider from the reflected delegate. |
int |
getDataProviderCount(String fieldName)
Get the data provider count from the reflected delegate. |
InputStream |
getImage(String fieldName)
Get the image from the reflected delegate. |
String |
getString(String fieldName)
Get the String from the reflected delegate. |
boolean |
hasBooleanKey(String fieldName)
Determine if the boolean key has been set. |
boolean |
hasDataProviderKey(String fieldName)
Determine if the data provider key has been set. |
boolean |
hasImageKey(String fieldName)
Determine if the image key has been set. |
boolean |
hasStringKey(String fieldName)
Determine if the String key has been set. |
Methods inherited from class com.docmosis.template.population.ReflectiveDataProvider |
getDelegate, getInstance, getInstance, getWrappedInstance, isForgiving, isPrimitive, isPrimitiveArray, logCall, logCall, setDataFormatter, setDateFormat, setDateFormat, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Collection delegateCollection
Constructor Detail |
protected ReflectiveCollectionDataProvider(Object delegate, boolean forgiving, ReflectiveDataProvider.DataFormatManager dataFormatManager)
Method Detail |
public DataProvider getDataProvider(String fieldName, int idx)
ReflectiveDataProvider
getDataProvider
in interface DataProvider
getDataProvider
in class ReflectiveDataProvider
public int getDataProviderCount(String fieldName)
ReflectiveDataProvider
getDataProviderCount
in interface DataProvider
getDataProviderCount
in class ReflectiveDataProvider
public boolean hasDataProviderKey(String fieldName)
ReflectiveDataProvider
hasDataProviderKey
in interface DataProvider
hasDataProviderKey
in class ReflectiveDataProvider
fieldName
- the name of the field to use for reflection
public boolean getBoolean(String fieldName)
ReflectiveDataProvider
getBoolean
in interface DataProvider
getBoolean
in class ReflectiveDataProvider
public InputStream getImage(String fieldName)
ReflectiveDataProvider
getImage
in interface DataProvider
getImage
in class ReflectiveDataProvider
public String getString(String fieldName)
ReflectiveDataProvider
getString
in interface DataProvider
getString
in class ReflectiveDataProvider
public boolean hasBooleanKey(String fieldName)
ReflectiveDataProvider
hasBooleanKey
in interface DataProvider
hasBooleanKey
in class ReflectiveDataProvider
fieldName
- the name of the field to use for reflection
public boolean hasImageKey(String fieldName)
ReflectiveDataProvider
hasImageKey
in interface DataProvider
hasImageKey
in class ReflectiveDataProvider
fieldName
- the name of the field to use for reflection
public boolean hasStringKey(String fieldName)
ReflectiveDataProvider
hasStringKey
in interface DataProvider
hasStringKey
in class ReflectiveDataProvider
fieldName
- the name of the field to use for reflection
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |