| java.lang.Object org.jfree.report.function.AbstractExpression org.jfree.report.function.sys.IsExportTypeExpression
IsExportTypeExpression | public class IsExportTypeExpression extends AbstractExpression (Code) | | Tests, whether a certain export type is currently used. This matches the given export type with the export type
that is specified by the output-target. The given export type can be a partial pattern, in which case this expression
tests, whether the given export type is a sub-type of the output-target's type.
To test whether a table-export is used, specifiy the export type as "table" and it will match all table exports.
author: Thomas Morgner |
Method Summary | |
public String | getExportType() Returns the export type string. | public Object | getValue() Return Boolean.TRUE, if the specified export type matches the used export type, Boolean.FALSE otherwise. | public void | setExportType(String exportType) Defines the export type. |
IsExportTypeExpression | public IsExportTypeExpression()(Code) | | Default constructor.
|
getExportType | public String getExportType()(Code) | | Returns the export type string.
the export type string. |
getValue | public Object getValue()(Code) | | Return Boolean.TRUE, if the specified export type matches the used export type, Boolean.FALSE otherwise.
the value of the function. |
setExportType | public void setExportType(String exportType)(Code) | | Defines the export type.
Parameters: exportType - the export type. |
|
|