Package | Description |
---|---|
net.windward.datasource |
This supplies a data source to Windward Reports.
|
net.windward.datasource.abstract_datasource | |
net.windward.datasource.dom4j |
This supplies an xml data source to Windward Reports.
|
net.windward.datasource.jdbc |
This supplies a sql data source to Windward Reports.
|
net.windward.datasource.json | |
net.windward.xmlreport |
The reporting-specific part of Windward Reports.
|
net.windward.xmlreport.xsnv.conditionalformatter |
Modifier and Type | Method and Description |
---|---|
void |
DataSourceProvider.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataSourceNode.addQuery(QueryTag tag,
DataSourceNode[] stack)
Called for a query tag.
|
void |
DataSourceNode.addSet(SetTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState)
Called for a set tag.
|
boolean |
DataSourceNode.addSwitch(SwitchTag tag,
DataSourceNode[] stack)
Called for a switch tag.
|
void |
DataSourceProvider.approveDenyModifySelect(BaseTag xmlTag)
Verifys that a tag select is approved by a user defined callback
Or denies by throwing a DatasourceException or modifies the select
Called in XmlSubNodeVisitor when tag is validated
|
void |
DataSourceProvider.close()
Called when processing is complete.
|
void |
DataSourceNode.close()
We are done with this node.
|
void |
DataSourceIterator.close()
We are done with this iterator.
|
static java.lang.Object |
ChartDataImpl.convertSelect(DataSourceNode node,
java.lang.String datasource,
java.lang.String select,
DataSourceNode[] stack,
java.lang.String dataType,
java.util.Locale locale)
Processes a select for a scalar result.
|
static java.io.InputStream |
DataSourceBase.convertToInputStream(java.lang.Object data)
Used for cases where an evaluate can return a byte[] or other object and the engine needs the data as an
InputStream.
|
void |
DataSourceNode.endSwitch(EndSwitchTag tag,
DataSourceNode[] stack)
Called when a switch ends.
|
boolean |
DataSourceNode.evaluate(java.lang.String text,
DataSourceNode[] stack,
IMacroState macroState)
Evaluate an expression for the boolean result.
|
java.io.InputStream |
DataSourceNode.getBitmap(OutTag tag,
DataSourceNode[] stack,
IMacroState state)
Called when tag is of type BITMAP.
|
int |
DataSourceIterator.getCount()
Return the count the iteration is on.
|
java.lang.Object |
DataSourceNode.getCursor()
Returns the underlying cursor this node presently holds.
|
ChartDataSet |
ChartDataImpl.getData()
Returns a set of data used to create a chart.
|
ChartDataSet |
DataSourceNode.getData(ChartTag tag,
DataSourceNode[] stack,
java.util.Locale locale)
Returns a set of data used to create a chart.
|
java.lang.Object[] |
DataSourceNode.getEquationData(java.lang.String query,
DataSourceNode[] stack,
java.util.Locale locale)
Returns an array of data from a given datasource query
|
java.lang.String |
DataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack)
Deprecated.
|
java.lang.String |
DataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState)
An extended version of getImport() which supports the macro evaluation.
|
int |
DataSourceIterator.getIndex()
Return the index the iteration is on.
|
DataSourceIterator |
DataSourceNode.getIterator()
Returns the iterator presently in use for this node.
|
java.lang.String |
DataSourceNode.getLink(BaseTag tag,
DataSourceNode[] stack)
Called for a link or DrillDown tag.
|
java.lang.Object |
DataSourceNode.getOut(OutTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState state)
Called for an out tag.
|
InputDataContainer |
DataSourceNode.getOutStream(OutTag tag,
DataSourceNode[] stack,
IMacroState state)
Called for an out tag.
|
int |
DataSourceNode.getQueryMode(java.lang.String select,
BaseTag tag)
Returns the mode of a query.
|
java.lang.Object |
DataSourceIterator.getResultSet()
Returns the result set this iterator presently holds.
|
DataSourceNode |
DataSourceProvider.getRootNode()
Returns the root node for this data set.
|
ForEachTag |
DataSourceIterator.getTag()
Return the forEach tag in use for this iterator.
|
java.lang.Object[] |
DataSourceNode.getVariableValue(java.lang.String variable,
DataSourceNode[] stack,
java.util.Locale locale)
Returns the variable value.
|
boolean |
DataSourceNode.isCase(CaseTag tag,
DataSourceNode[] stack,
IMacroState macroState)
Called for a case tag.
|
boolean |
DataSourceNode.isExistingNode(BaseTag tag,
DataSourceNode[] stack)
Return true if the passed in node exists.
|
boolean |
DataSourceIterator.isFirst()
Return true if on the first node returned.
|
boolean |
DataSourceNode.isIf(IfTag tag,
DataSourceNode[] stack,
IMacroState macroState)
Called for an if tag.
|
boolean |
DataSourceIterator.isLast()
Return true if on the last node returned.
|
DataSourceIterator |
DataSourceNode.iterator(ForEachTag tag,
DataSourceNode[] stack)
Called for a forEach tag.
|
void |
DataSourceProvider.validateTag(BaseTag xmlTag)
Verifys that a tag has all required attributes and no unknown attributes.
|
Constructor and Description |
---|
ChartDataImpl(DataSourceNode node,
ChartTag tag,
DataSourceNode[] nodeStack,
java.util.Locale locale)
Returns a set of data used to create a chart.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDataSource.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
void |
AbstractDataSource.SetDseProps(DataSourceException dse,
BaseTag tag,
DataSourceNode[] stack) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractDataSourceNode.addQuery(QueryTag tag,
DataSourceNode[] stack) |
void |
AbstractDataSourceNode.addSet(SetTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState)
Adds the set tag value to the usermap.
|
boolean |
AbstractDataSourceNode.addSwitch(SwitchTag tag,
DataSourceNode[] stack) |
void |
AbstractDataSource.approveDenyModifySelect(BaseTag xmlTag)
Verifys that a tag select is approved by a user defined callback
Or denies by throwing a DatasourceException or modifies the select
|
void |
AbstractDataSourceNode.close() |
abstract void |
AbstractDataSource.close()
Clean up resources.
|
DataSourceNode |
AbstractDataSource.dataSourceNodeWithIndex(int index,
DataSourceIterator it,
ForEachTag tag)
Return the node when a forEach has a step > 1 and therefore results can be accessed using ${var[2]}.
|
java.lang.Object |
AbstractDataSourceNode.drillDownToVal(java.lang.Object rtn,
java.lang.String tagType)
Drills through result sets to get the final return value.
|
boolean |
AbstractDataSourceNode.evaluate(java.lang.String text,
DataSourceNode[] stack,
IMacroState macroState) |
java.lang.String |
IDataSourceQueryHelper.fixQuery(java.lang.String query,
IDataSourceResultRow resultRow) |
java.io.InputStream |
AbstractDataSourceNode.getBitmap(OutTag tag,
DataSourceNode[] stack,
IMacroState state) |
java.lang.Object |
AbstractDataSourceNode.getCursor() |
ChartDataSet |
AbstractDataSourceNode.getData(ChartTag tag,
DataSourceNode[] stack,
java.util.Locale locale) |
java.lang.Object[] |
AbstractDataSourceNode.getEquationData(java.lang.String query,
DataSourceNode[] stack,
java.util.Locale locale) |
FieldResult |
IDataSourceResultRow.getFieldEx(int index,
int mode,
java.lang.String tagType)
Get a field from this row.
|
FieldResult |
IDataSourceResultRow.getFieldEx(java.lang.String fieldName,
int mode,
java.lang.String tagType)
Get a field from this row.
|
IDataSourceResultRow |
IDataSourceResultSet.getFirst() |
java.lang.String |
AbstractDataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack) |
java.lang.String |
AbstractDataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState) |
DataSourceIterator |
AbstractDataSourceNode.getIterator() |
java.lang.String |
AbstractDataSourceNode.getLink(BaseTag tag,
DataSourceNode[] stack) |
java.lang.Object |
AbstractDataSourceNode.getOut(OutTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState state) |
InputDataContainer |
AbstractDataSourceNode.getOutStream(OutTag tag,
DataSourceNode[] stack,
IMacroState state) |
IDataSourceResultSet |
IDataSourceQueryHelper.getQueryResults(java.lang.String query,
java.lang.String tagType)
Given a select statement.
|
java.lang.Object |
VarResults.getResult() |
java.lang.Object |
ParsedQuery.getResult(boolean completeSelect)
Get the result for this query.
|
java.lang.Object |
AbstractDataSourceIterator.getResultSet()
Returns the result set this iterator presently holds.
|
IDataSourceResultSet |
ParsedQuery.getResultSet(boolean completeSelect)
Get the resultset for this query.
|
java.lang.String |
IDataSourceResultRow.getUniquePath() |
java.lang.String |
AbstractDataSourceNode.getValue(BaseTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState) |
java.lang.Object |
IDataSourceResultRow.getValue(int mode,
java.lang.String tagType)
Get the value in this result row.
|
java.lang.Object[] |
AbstractDataSourceNode.getVariableValue(java.lang.String variable,
DataSourceNode[] stack,
java.util.Locale locale) |
boolean |
AbstractDataSourceNode.isCase(CaseTag tag,
DataSourceNode[] stack,
IMacroState macroState) |
boolean |
AbstractDataSourceNode.isExistingNode(BaseTag tag,
DataSourceNode[] stack) |
boolean |
AbstractDataSourceNode.isIf(IfTag tag,
DataSourceNode[] stack,
IMacroState macroState) |
DataSourceIterator |
AbstractDataSourceNode.iterator(ForEachTag tag,
DataSourceNode[] stack)
Called for a forEach tag.
|
boolean |
ParsedQuery.nodeExists()
true if the node exists, even if it has a value of null.
|
ParsedQuery |
AbstractDataSourceNode.parse(java.lang.String query,
DataSourceNode[] stack,
int mode,
int returnType,
java.lang.String tagType,
boolean ignoreUndefinedParams)
parses the query and gets variable results.
|
java.lang.Object |
AbstractDataSource.returnValue(IDataSourceResultRow resultRow,
java.lang.String tagType)
Return the requested value from a result set.
|
java.lang.String |
IDataSourceQueryHelper.substituteVariables(java.lang.String[] queryParts,
java.lang.Object[] toInsert,
java.lang.String query,
java.util.List<VarResults> parameters)
Called by the AbstractDataSource to substitute values into a select statement.
|
java.lang.String |
IDataSourceQueryHelper.valueToString(java.lang.Object object)
Called by AbstractDataSource to return string value of obj returned from getValue(tag, stack) method.
|
Constructor and Description |
---|
AbstractDataSourceIterator(AbstractDataSource abstractDataSource,
ForEachTag tag,
DataSourceNode[] stack,
IDataSourceResultSet resultSet)
Create the iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
Dom4jDataSource.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
Modifier and Type | Method and Description |
---|---|
void |
Dom4jDataSource.approveDenyModifySelect(BaseTag xmlTag)
Verifys that a tag select is approved by a user defined callback
Or denies by throwing a DatasourceException or modifies the select
|
java.lang.Object |
Dom4jDataSource.VarResults.getResult(org.dom4j.Node node) |
Modifier and Type | Method and Description |
---|---|
void |
JdbcDataSource.approveDenyModifySelect(BaseTag xmlTag)
Verifys that a tag select is approved by a user defined callback
Or denies by throwing a DatasourceException or modifies the select
|
void |
JdbcDataSource.JdbcNode.close()
We are done with this node.
|
FieldResult |
JdbcResultRow.getFieldEx(int i,
int mode,
java.lang.String tagType) |
FieldResult |
JdbcResultRow.getFieldEx(java.lang.String fieldName,
int mode,
java.lang.String tagType) |
IDataSourceResultRow |
JdbcResultSet.getFirst() |
int |
JdbcDataSource.JdbcNode.getQueryMode(java.lang.String query,
BaseTag tag) |
IDataSourceResultSet |
JdbcQueryHelper.getQueryResults(java.lang.String query,
java.lang.String tagType) |
java.lang.Object |
JdbcResultRow.getValue(int mode,
java.lang.String tagType)
Get the value in this result row.
|
void |
JdbcResultSet.setResultSet(java.sql.ResultSet rs) |
java.lang.String |
JdbcQueryHelper.valueToString(java.lang.Object object) |
Constructor and Description |
---|
JdbcResultSet(java.sql.ResultSet rs,
java.sql.PreparedStatement stmt,
JdbcDataSource dsp,
java.lang.String select) |
Modifier and Type | Method and Description |
---|---|
void |
JsonDataSource.close() |
void |
JsonDataSource.JsonDataNode.close() |
java.io.InputStream |
JsonDataSource.JsonDataNode.getBitmap(OutTag tag,
DataSourceNode[] stack,
IMacroState state) |
FieldResult |
JsonResultRow.getFieldEx(int i,
int mode,
java.lang.String tagType) |
FieldResult |
JsonResultRow.getFieldEx(java.lang.String fieldName,
int mode,
java.lang.String tagType)
Get a field from this row.
|
int |
JsonDataSource.JsonDataNode.getQueryMode(java.lang.String select,
BaseTag tag) |
IDataSourceResultSet |
JsonQueryHelper.getQueryResults(java.lang.String query,
java.lang.String tagType_)
Given a select statement.
|
java.lang.Object |
JsonResultRow.getValue(int mode,
java.lang.String tagType)
Get the value in this result row.
|
java.lang.String |
JsonQueryHelper.substituteVariables(java.lang.String[] queryParts,
java.lang.Object[] toInsert,
java.lang.String query,
java.util.List<VarResults> parameters)
Called by the AbstractDataSource to substitute values into a select statement.
|
java.lang.String |
JsonQueryHelper.valueToString(java.lang.Object object)
Called by AbstractDataSource to return string value of obj returned from getValue(tag, stack) method.
|
Modifier and Type | Method and Description |
---|---|
BatchReport |
ProcessReportAPIBase.batchNext(java.io.OutputStream report)
Generates the next document in the batch and returns the results of that document.
|
BatchReport |
ProcessReport.batchNext(java.io.OutputStream report)
Generates the next document in the batch and returns the results of that document.
|
void |
ProcessReportAPIBase.batchSetup(java.util.Map<java.lang.String,DataSourceProvider> dataProviders,
java.lang.String batchForEach,
java.util.Map<java.lang.String,java.lang.String> batchParameters)
Prepares the object to run batch reports.
|
void |
ProcessReport.batchSetup(java.util.Map<java.lang.String,DataSourceProvider> dataProviders,
java.lang.String batchForEach,
java.util.Map<java.lang.String,java.lang.String> parameters)
Prepares the object to run batch reports.
|
void |
ProcessReportAPIBase.buildSchema(java.io.OutputStream xmlSchema)
Generates a UDT schema XML files based on the tags in the template.
|
void |
ProcessReport.buildSchema(java.io.OutputStream xmlSchema)
Generates a UDT schema XML files based on the tags in the template.
|
static void |
ProcessReport.clean(java.io.InputStream template,
java.io.OutputStream cleanedStream,
int cleanedType,
boolean removeUnused,
int tagStyle,
ProcessReport.CleanDatasource[] datasources,
int paramMode,
int templateVersion)
Clean the requested template.
|
static void |
ProcessReport.clean(java.io.InputStream template,
java.io.OutputStream cleanedStream,
int cleanedType,
boolean removeUnused,
int tagStyle,
ProcessReport.CleanDatasource[] datasources,
int paramMode,
int templateVersion,
boolean fixExpressions)
Clean the requested template.
|
java.util.List<java.lang.String> |
ProcessReportAPIBase.findPodsUsed()
Find Pod's being used by a Document.
|
java.util.List<java.lang.String> |
ProcessReport.findPodsUsed()
Find Pod's being used by a Document.
|
static TemplateInfo |
ProcessReport.getTemplateMetrics(java.io.InputStream file)
Returns information about all vars, datasources, and tags referenced in the template.
|
static TemplateInfo |
ProcessReport.getTemplateMetrics(java.io.InputStream file,
boolean quiet)
Returns information about all vars, datasources, and tags referenced in the template.
|
static TemplateInfo |
ProcessReport.getTemplateMetrics(java.io.InputStream file,
boolean quiet,
boolean ignoreTags) |
Document |
ProcessReport.loadTemplate(java.io.InputStream file,
int type,
DocHeader hdr,
DocBody parentDoc,
boolean removeUnusedFormats,
java.lang.String encoding,
java.lang.String[] importStack)
This is not part of the official API.
|
static void |
JoinReports.main(java.lang.String[] args)
Join multiple files into a single PDF.
|
void |
ProcessReportAPIBase.process()
Create a report from the input template & datasource(s), writing it to the output (report) stream.
|
void |
ProcessReport.process()
Create a report from the input streams, writing it to the output (report) stream.
|
void |
ProcessHtml.process()
Create a report from the input template and datasource(s) streams, writing it to the output (report) stream.
|
long |
ProcessReportAPIBase.processComplete()
Process the final report and create the output.
|
long |
ProcessReport.processComplete()
Process the final report and create the output.
|
void |
ProcessReportAPIBase.processData(DataSourceProvider data,
java.lang.String datasource)
Process a set of data for the report.
|
void |
ProcessReport.processData(DataSourceProvider datasourceProvider,
java.lang.String datasourceName)
Process a set of data for the report.
|
void |
ProcessReportAPIBase.processData(java.util.Map<java.lang.String,DataSourceProvider> dataProviders)
Process multiple sets of data for the report.
|
void |
ProcessReport.processData(java.util.Map<java.lang.String,DataSourceProvider> dataProviders)
Processes multiple sets of data for the report.
|
void |
ProcessReportAPIBase.processSetup()
Process the template and get the report ready to process data files.
|
void |
ProcessReport.processSetup()
Process the template and get the report ready to process data files.
|
void |
ProcessReportAPIBase.processSetup(int inputType)
Process the template and get the report ready to process data files.
|
void |
ProcessReport.processSetup(int inputType)
Process the template and get the report ready to process data files.
|
void |
ProcessReportAPIBase.updatePods(UdtUpdate[] udts)
Update the UDTs.
|
void |
ProcessReport.updatePods(UdtUpdate[] pods)
Deprecated.
Use the import tag instead for content that needs to be updated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessConditionalFormat.applyFormatConditionCodeToElement(java.lang.String format,
OutTag tag,
XsnvProcessFormatState state,
java.lang.Object rawValue) |
Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software