public class DataSetAdapter extends Methods implements IDataSetProcessor
IDataSetProcessorinterface
definition to be subclassed by each extension writer as needed.ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, ARRAY, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BIG_NUMBER_PRIMITIVE_ARRAY, BOOLEAN, BOTTOM, CENTER, COLLECTION, DATE_TIME, DESIGN_TIME, EMPTY_STRING, EQUAL, FORWARD, HORIZONTAL, INSIDE, LABELS, LEFT, LEGEND_ENTRY, LEGEND_GROUP_NAME, LEGEND_MINSLICE_ENTRY, LEGEND_SEPERATOR, LESS, LINE_EXPAND_DOUBLE_SIZE, LINE_EXPAND_SIZE, LINEAR, LOG_10, LOGARITHMIC, MAJOR, MAX, MIN, MINOR, MORE, NON_PRIMITIVE_ARRAY, NULL_STRING, NUMBER_PRIMITIVE_ARRAY, NUMERICAL, ONE_SPACE, ORTHOGONAL, ORTHOGONAL_AXIS, OTHER, OUTSIDE, PERCENT, POSITION_MASK, POSITION_MOVE_ABOVE, POSITION_MOVE_BELOW, POSITION_MOVE_LEFT, POSITION_MOVE_RIGHT, PRIMITIVE_ARRAY, RIGHT, RUN_TIME, SOME_NULL, TEXT, THREE_D, TICK_ABOVE, TICK_ACROSS, TICK_BELOW, TICK_LEFT, TICK_NONE, TICK_RIGHT, TICK_SIDE1, TICK_SIDE2, TICK_SIZE, TOP, TWO_5_D, TWO_D, UNDEFINED, UNDEFINED_STRING, USER_INTERFACE, VALUE, VERTICAL| Constructor and Description |
|---|
DataSetAdapter() |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
fromString(java.lang.String sDataSetRepresentation,
DataSet ds)
Attempts to parse a line of text representing multiple values of a
specific data element type and updates an existing data set or creates a
new data set filled with these values.
|
java.util.List<Query> |
getDataDefinitionsForGrouping(Series series)
Provides a list of data definitions for grouping.
|
java.lang.String |
getExpectedStringFormat() |
java.util.Locale |
getLocale()
Provides the locale to device renderer implementations as needed to
retrieve localized resources for presentation.
|
java.lang.Object |
getMaximum(DataSet ds)
Causes implementation specific data set processor classes to compute the
maximum value in a data set of a specific series type.
|
java.lang.Object |
getMinimum(DataSet ds)
Causes implementation specific data set processor classes to compute the
minimum value in a data set of a specific series type.
|
com.ibm.icu.util.ULocale |
getULocale()
Provides the locale to device renderer implementations as needed to
retrieve localized resources for presentation.
|
DataSet |
populate(java.lang.Object oResultSetDef,
DataSet ds)
Populates a data set with data element values retrieved from a result set
created as a result of query execution
|
void |
setLocale(com.ibm.icu.util.ULocale lcl)
A convenience method provided to associate a locale with a display server
|
java.lang.String |
toString(java.lang.Object[] columnData)
Attempts to format a column of data to string.
|
asDateTime, asDouble, asInteger, computeBox, computeBox, computeBox, computeBox, computeFontHeight, computeHeight, computeHeight, computeLabelSize, computePolygon, computePolygon, computePolygon, computeRotatedTopPoint, computeWidth, computeWidth, getLabelPosition, getLocation, getLocation, getLocation, getNormalizedLocation, getNormalizedLocationpublic DataSet fromString(java.lang.String sDataSetRepresentation, DataSet ds) throws ChartException
IDataSetProcessorfromString in interface IDataSetProcessorsDataSetRepresentation - A line of text containing a list of data element values that
may be parsed.ds - An existing data set (or null for a new one) that needs to be
filled with data elements created by parsing the line of text
as per the expected string format.ChartExceptionpublic DataSet populate(java.lang.Object oResultSetDef, DataSet ds) throws ChartException
IDataSetProcessorpopulate in interface IDataSetProcessoroResultSetDef - An instance of a generic result set that is host application
specific. For BIRT, the result set class is ResultSetDataSetds - An existing data set (or null for a new one) that needs to be
filled with with data elements extracted from the result set
definitionChartExceptionpublic java.lang.Object getMinimum(DataSet ds) throws ChartException
IDataSetProcessorgetMinimum in interface IDataSetProcessords - The data set for which the minimum value needs to be computedChartExceptionpublic java.lang.Object getMaximum(DataSet ds) throws ChartException
IDataSetProcessorgetMaximum in interface IDataSetProcessords - The data set for which the maximum value needs to be computedChartExceptionpublic java.lang.String getExpectedStringFormat()
getExpectedStringFormat in interface IDataSetProcessorpublic java.util.Locale getLocale()
IDataSetProcessorgetLocale in interface IDataSetProcessorpublic com.ibm.icu.util.ULocale getULocale()
IDataSetProcessorgetULocale in interface IDataSetProcessorpublic final void setLocale(com.ibm.icu.util.ULocale lcl)
lcl - The locale to be setpublic java.lang.String toString(java.lang.Object[] columnData)
throws ChartException
IDataSetProcessortoString in interface IDataSetProcessorcolumnData - array of column data. All elements have same class type.ChartExceptionpublic java.util.List<Query> getDataDefinitionsForGrouping(Series series)
IDataSetProcessorgetDataDefinitionsForGrouping in interface IDataSetProcessorseries - series to get data definitionsCopyright © 2005-2008 Actuate Corp. All rights reserved.