Package | Description |
---|---|
net.windward.chart.datasource |
These classes provide the data for a chart.
|
net.windward.datasource |
This supplies a data source to the Windward Engine.
|
net.windward.datasource.abstract_datasource | |
net.windward.datasource.dom4j |
This supplies an xml data source to the Windward Engine.
|
net.windward.datasource.jdbc |
This supplies a sql data source to the Windward Engine.
|
net.windward.datasource.json | |
net.windward.xmlreport |
The reporting-specific part of the Windward Engine.
|
net.windward.xmlreport.xsnv.conditionalformatter |
Modifier and Type | Method and Description |
---|---|
void |
IChartDataSet.applyChartML(IChartMLCarrier chartml,
DocHeader docHdr)
sets the series colors and line weight from chartml
|
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.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.
|
IChartDataSet |
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.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
void |
DataSourceProvider.validateTag(BaseTag xmlTag)
Verifys that a tag has all required attributes and no unknown attributes.
|
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.
|
java.lang.Object |
AbstractDataSource.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() |
IChartDataSet |
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() |
IDataSourceResultRow |
DataSourceResultSetEmpty.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()
The result of this query.
|
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)
Deprecated.
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
Modifier and Type | Method and Description |
---|---|
void |
Dom4jDataSource.approveDenyModifySelect(BaseTag xmlTag)
Deprecated.
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) |
void |
Dom4jDataSource.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Deprecated.
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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.
|
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,
java.lang.String license)
Clean the requested template.
|
java.util.List<java.lang.String> |
ProcessReportAPIBase.findPodsUsed()
Deprecated.
Find Pod's being used by a Document.
|
java.util.List<java.lang.String> |
ProcessReport.findPodsUsed()
Deprecated.
POD update is being replaced by template PODs.
|
static void |
ProcessReport.getTagTree(java.io.InputStream file,
java.io.OutputStream tagTree,
java.lang.String license)
Create an XML file of the tags in the template.
|
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) |
static TemplateInfo |
ProcessReport.getTemplateMetrics(java.io.InputStream file,
boolean quiet,
boolean ignoreTags,
java.lang.String license)
Get the metrics embedded in the passed in template.
|
static int |
JoinReports.joinPdf(ProcessReport[] documents,
java.io.OutputStream report)
Join multiple reports into a single generated PDF.
|
Document |
ProcessReport.loadTemplate(java.io.InputStream file,
int type,
DocHeader hdr,
DocBody parentDoc,
boolean removeUnusedFormats,
java.lang.String encoding,
java.lang.String[] importStack,
boolean fromTag)
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()
Deprecated.
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()
Deprecated.
Process the final report and create the output.
|
long |
ProcessReport.processComplete()
Process the final report and create the output.
|
long |
ProcessReport.processComplete(boolean batchMode)
Process the final report and create the output.
|
void |
ProcessReportAPIBase.processData(DataSourceProvider data,
java.lang.String datasource)
Deprecated.
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)
Deprecated.
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()
Deprecated.
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)
Deprecated.
Process the template and get the report ready to process data files.
|
void |
ProcessReport.processSetup(int inputType)
This method exists for unit tests only - do not call!
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessConditionalFormat.applyFormatConditionCodeToElement(java.lang.String format,
OutTag tag,
XsnvProcessFormatState state,
java.lang.Object rawValue) |
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software