|
Docmosis API 4.9.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.docmosis.template.population.KeyedReflectiveDataProvider
public class 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()
|
String |
toStringPretty()
Attempt to return a pretty String representation of the DataProvider |
| 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 DataProviderkey - the key to lookup
public DataProvider getDataProvider(String key,
int index)
DataProvider
getDataProvider in interface DataProviderkey - 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 DataProviderkey - the key (name) of the data providers to look for.
public InputStream getImage(String key)
DataProvider
getImage in interface DataProviderkey - the key under which to locate the image.
public String getString(String key)
DataProvider
getString in interface DataProviderkey - the to look up the value
public boolean hasBooleanKey(String key)
DataProvider
hasBooleanKey in interface DataProviderkey - the key to lookup
public boolean hasDataProviderKey(String key)
DataProvider
hasDataProviderKey in interface DataProviderkey - the key with which to lookup the data provider
public boolean hasImageKey(String key)
DataProvider
hasImageKey in interface DataProviderkey - the key for the String
public boolean hasStringKey(String key)
DataProvider
hasStringKey in interface DataProviderkey - the key for the String
public String toString()
toString in class Objectpublic String toStringPretty()
DataProvider
toStringPretty in interface DataProvider
|
Docmosis API 4.9.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||