|
||||||||||
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 | |
---|---|
com.docmosis.template.population.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,
com.docmosis.template.population.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, com.docmosis.template.population.SQLDataItem value)
key
- the key to look for.value
- the value to set.
IllegalArgumentException
- if the value not a String.public com.docmosis.template.population.SQLDataItem getDataItem(String key)
public boolean hasDataItem(String key)
public String getString(String key)
getString
in interface DataProvider
getString
in class MemoryDataProvider
key
- the key to find the value.
public boolean hasStringKey(String key)
hasStringKey
in interface DataProvider
hasStringKey
in class MemoryDataProvider
key
- the key for the String
public String toString()
toString
in class MemoryDataProvider
public String toDebugString(int level)
toDebugString
in class MemoryDataProvider
public String toDebugString(int level, boolean showClass)
toDebugString
in class MemoryDataProvider
public String toStringPretty()
DataProvider
toStringPretty
in interface DataProvider
toStringPretty
in class MemoryDataProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |