Package | Description |
---|---|
net.windward.datasource |
This supplies a data source to Windward Reports.
|
net.windward.datasource.abstract_datasource | |
net.windward.datasource.abstract_datasource.salesforce | |
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 |
DataSourceProvider.getQueryMode(java.lang.String select,
BaseTag tag)
Returns the mode of a query.
|
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().
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractDataSource.AbstractDataSourceNode.addQuery(QueryTag tag,
DataSourceNode[] stack) |
void |
AbstractDataSource.AbstractDataSourceNode.addSet(SetTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState)
Adds the set tag value to the usermap.
|
boolean |
AbstractDataSource.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 |
AbstractDataSource.AbstractDataSourceNode.close() |
boolean |
AbstractDataSource.AbstractDataSourceNode.evaluate(java.lang.String text,
DataSourceNode[] stack,
IMacroState macroState) |
java.io.InputStream |
AbstractDataSource.AbstractDataSourceNode.getBitmap(OutTag tag,
DataSourceNode[] stack,
IMacroState state) |
java.lang.Object |
AbstractDataSource.AbstractDataSourceNode.getCursor() |
ChartDataSet |
AbstractDataSource.AbstractDataSourceNode.getData(ChartTag tag,
DataSourceNode[] stack,
java.util.Locale locale) |
java.lang.Object[] |
AbstractDataSource.AbstractDataSourceNode.getEquationData(java.lang.String query,
DataSourceNode[] stack,
java.util.Locale locale) |
java.lang.Object |
DataSourceResultPosition.getField(java.lang.String fieldName)
This function is used to get a list of the next structure down from the axis
|
DataSourceResultRow.FieldValue |
DataSourceResultRow.getField(java.lang.String fieldName,
int mode)
Get a field from this row.
|
java.lang.String |
AbstractDataSource.AbstractDataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack) |
java.lang.String |
AbstractDataSource.AbstractDataSourceNode.getImport(ImportTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState macroState) |
DataSourceIterator |
AbstractDataSource.AbstractDataSourceNode.getIterator() |
java.lang.String |
AbstractDataSource.AbstractDataSourceNode.getLink(BaseTag tag,
DataSourceNode[] stack) |
java.lang.Object |
AbstractDataSource.AbstractDataSourceNode.getOut(OutTag tag,
DataSourceNode[] stack,
java.util.Locale locale,
IMacroState state) |
InputDataContainer |
AbstractDataSource.AbstractDataSourceNode.getOutStream(OutTag tag,
DataSourceNode[] stack,
IMacroState state) |
abstract int |
AbstractDataSource.getQueryMode(java.lang.String query,
BaseTag tag)
Gets the query mode of a select.
|
int |
AbstractDataSource.AbstractDataSourceNode.getQueryMode(java.lang.String query,
BaseTag tag) |
DataSourceResultSet |
DataSourceQueryHelper.getQueryResults(java.lang.String query)
Given a select statement.
|
java.lang.String |
AbstractDataSource.AbstractDataSourceNode.getValue(BaseTag tag,
DataSourceNode[] stack,
IMacroState macroState,
java.util.Locale locale) |
java.lang.Object |
DataSourceResultRow.getValue(int mode) |
java.lang.Object[] |
AbstractDataSource.AbstractDataSourceNode.getVariableValue(java.lang.String variable,
DataSourceNode[] stack,
java.util.Locale locale) |
boolean |
AbstractDataSource.AbstractDataSourceNode.isCase(CaseTag tag,
DataSourceNode[] stack,
IMacroState macroState) |
boolean |
AbstractDataSource.AbstractDataSourceNode.isExistingNode(BaseTag tag,
DataSourceNode[] stack) |
boolean |
AbstractDataSource.AbstractDataSourceNode.isIf(IfTag tag,
DataSourceNode[] stack,
IMacroState macroState) |
abstract DataSourceIterator |
AbstractDataSource.AbstractDataSourceNode.iterator(ForEachTag tag,
DataSourceNode[] stack) |
java.lang.Object |
AbstractDataSource.returnfirstattribute(DataSourceResultRow dsrr) |
java.lang.Object |
AbstractDataSource.returnValue(DataSourceResultRow dsrr) |
java.lang.String |
DataSourceQueryHelper.substituteVariables(java.lang.String[] queryParts,
java.lang.Object[] toInsert,
java.lang.String query)
Called by the AbstractDataSource to substitute values into a select statement.
|
java.lang.String |
DataSourceQueryHelper.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 |
---|---|
void |
SalesForceResultSet.addRecord(com.sforce.ws.bind.XmlObject toAdd) |
SalesForceResultSet |
SalesForceQueryHelper.buildResultSetForSubquery(com.sforce.soap.partner.PartnerConnection connection,
com.sforce.ws.bind.XmlObject subQueryResults,
java.lang.String query,
java.util.HashMap<java.lang.String,com.sforce.soap.partner.DescribeSObjectResult> metadataHash) |
DataSourceResultRow.FieldValue |
SalesForceRow.getField(java.lang.String fieldName,
int mode) |
int |
SalesForceDataSource.getQueryMode(java.lang.String query,
BaseTag tag) |
SalesForceResultSet |
SalesForceQueryHelper.getQueryResults(java.lang.String query) |
DataSourceIterator |
SalesForceDataSource.SalesForceDataSourceNode.iterator(ForEachTag tag,
DataSourceNode[] stack) |
java.lang.String |
SalesForceQueryHelper.valueToString(java.lang.Object object) |
Constructor and Description |
---|
SalesForceDataSource(DataSourceProvider toCopy,
boolean logoutWhenDone) |
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
|
int |
Dom4jDataSource.getQueryMode(java.lang.String query,
BaseTag tag)
Returns the query mode for this select.
|
java.lang.Object |
Dom4jDataSource.VarResults.getResult(org.dom4j.Node node) |
Modifier and Type | Method and Description |
---|---|
void |
JdbcDataSource.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
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.close()
Called when processing is complete.
|
int |
JdbcDataSource.getQueryMode(java.lang.String query,
BaseTag tag)
Returns the query mode for this select.
|
void |
JdbcDataSource.validateTag(BaseTag xmlTag)
Verifys that a tag has all required attributes and no unknown attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
JsonDataSource.populateDatasourceException(DataSourceException exception,
BaseTag tag,
DataSourceNode[] stack)
Populates that properties in a DataSourceException via DataSourceException.setProperties().
|
Modifier and Type | Method and Description |
---|---|
void |
JsonDataSource.approveDenyModifySelect(BaseTag xmlTag) |
void |
JsonDataSource.close() |
int |
JsonDataSource.getQueryMode(java.lang.String select,
BaseTag tag) |
DataSourceNode |
JsonDataSource.getRootNode() |
Modifier and Type | Method and Description |
---|---|
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)
Update the Pods.
|
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