|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This supplies a data source to Windward Reports. Implementation of this interface is necessary and sufficient to provide a data source to Windward Reports. This object lives for the lifetime of substituting data into a report.
| Method Summary | |
void |
close()
Called when processing is complete. |
java.lang.String |
dump()
Display the entire dataset. |
DataSourceNode |
getRootNode()
Returns the root node for this data set. |
TagAttributes[] |
getTagAttributes()
Returns the allowed attributes for all tags. |
void |
log()
Log all info about this datasource to debug. |
void |
setMap(java.util.Map map)
Adds a map that is used for ${variable} substitution. |
void |
validateTag(BaseTag xmlTag)
Verifys that a tag has all required attributes and no unknown attributes. |
| Method Detail |
public void setMap(java.util.Map map)
map - The map of string pairs.
public DataSourceNode getRootNode()
throws DataSourceException
DataSourceException - Could not retrieve the data. Generally wraps a SqlException or XpathException.
public void close()
throws DataSourceException
DataSourceException - Could not retrieve the data. Generally wraps a SqlException or XpathException.public void log()
public java.lang.String dump()
throws DataSourceException
DataSourceException - thrown if has any problems reading the dataset.public TagAttributes[] getTagAttributes()
public void validateTag(BaseTag xmlTag)
throws TagException
xmlTag - The tag to checkTagException - thrown if illegal parameters passed in.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||