|
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.MemoryDataProvider
com.docmosis.template.population.SQLDataProvider
public class SQLDataProvider
Currently the SQL Data Provider doesn't support Image Data being provided by the database.
| Constructor Summary | |
|---|---|
SQLDataProvider()
|
|
| Method Summary | |
|---|---|
SQLDataItem |
getDataItem(String key)
|
String |
getString(String key)
Get the value for the given string key. |
boolean |
hasDataItem(String key)
|
boolean |
hasStringKey(String key)
Determine if this dataprovider has a value for the key. |
void |
setDataItem(String key,
SQLDataItem value)
Sets the given value for the given key. |
String |
toDebugString(int level)
|
String |
toDebugString(int level,
boolean showClass)
|
String |
toString()
|
String |
toStringPretty()
Attempt to return a pretty String representation of the DataProvider |
| Methods inherited from class com.docmosis.template.population.MemoryDataProvider |
|---|
addDataProvider, cleanup, finalize, getBoolean, getBooleanKeys, getDataProvider, getDataProviderCount, getDataProviderKeys, getImage, getImageKeys, getRealKey, getStringKeys, hasBooleanKey, hasDataProviderKey, hasImageKey, setBoolean, setFalse, setImage, setImage, setString, setTrue, toDebugString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLDataProvider()
| Method Detail |
|---|
public void setDataItem(String key,
SQLDataItem value)
key - the key to look for.value - the value to set.
IllegalArgumentException - if the value not a String.public SQLDataItem getDataItem(String key)
public boolean hasDataItem(String key)
public String getString(String key)
getString in interface DataProvidergetString in class MemoryDataProviderkey - the key to find the value.
public boolean hasStringKey(String key)
hasStringKey in interface DataProviderhasStringKey in class MemoryDataProviderkey - the key for the String
public String toString()
toString in class MemoryDataProviderpublic String toDebugString(int level)
toDebugString in class MemoryDataProvider
public String toDebugString(int level,
boolean showClass)
toDebugString in class MemoryDataProviderpublic String toStringPretty()
DataProvider
toStringPretty in interface DataProvidertoStringPretty in class MemoryDataProvider
|
Docmosis API 4.9.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||