|
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.KeyedReflectiveDataProvider
Constructor Summary | |
KeyedReflectiveDataProvider(String key,
Object o,
boolean forgiving)
|
Method Summary | |
boolean |
getBoolean(String key)
Determine if the given key hs been set to true. |
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. |
int |
getDataProviderCount(String key)
Return the number of data providers contained within this data provider with the given key as a name. |
InputStream |
getImage(String key)
Get an InputStream over the image with the given key. |
String |
getString(String key)
Get the value for the given key |
boolean |
hasBooleanKey(String key)
Determine if a value for the boolean key has been specified |
boolean |
hasDataProviderKey(String key)
Determine if a data provider for the key has been specified (even if null) |
boolean |
hasImageKey(String key)
Determine if the given image has been set (even if to null) |
boolean |
hasStringKey(String key)
Determine if the given string has been set (even if to null) |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public KeyedReflectiveDataProvider(String key, Object o, boolean forgiving)
Method Detail |
public boolean getBoolean(String key)
DataProvider
getBoolean
in interface DataProvider
key
- the key to lookup
public DataProvider getDataProvider(String key, int index)
DataProvider
getDataProvider
in interface DataProvider
key
- the key (name) of the data provider to look for.index
- the index of the data provider.
public int getDataProviderCount(String key)
DataProvider
getDataProviderCount
in interface DataProvider
key
- the key (name) of the data providers to look for.
public InputStream getImage(String key)
DataProvider
getImage
in interface DataProvider
key
- the key under which to locate the image.
public String getString(String key)
DataProvider
getString
in interface DataProvider
key
- the to look up the value
public boolean hasBooleanKey(String key)
DataProvider
hasBooleanKey
in interface DataProvider
key
- the key to lookup
public boolean hasDataProviderKey(String key)
DataProvider
hasDataProviderKey
in interface DataProvider
key
- the key with which to lookup the data provider
public boolean hasImageKey(String key)
DataProvider
hasImageKey
in interface DataProvider
key
- the key for the String
public boolean hasStringKey(String key)
DataProvider
hasStringKey
in interface DataProvider
key
- the key for the String
public String toString()
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |