| |
|
| java.lang.Object org.jfree.report.function.AbstractExpression org.jfree.report.function.strings.URLEncodeExpression
URLEncodeExpression | public class URLEncodeExpression extends AbstractExpression (Code) | | Performs an URL encoding on the value read from the given field. As the URL-encoding schema is a binary
encoding, a real character encoding must be given as well. If not defined otherwise, ISO-8859-1 is used.
author: Thomas Morgner |
Method Summary | |
public String | getEncoding() Returns the defined character encoding that is used to transform the Java-Unicode strings into bytes. | public String | getField() Returns the name of the datarow-column from where to read the string value. | public Object | getValue() Encodes the value read from the defined field. | public void | setEncoding(String encoding) Defines the character encoding that is used to transform the Java-Unicode strings into bytes. | public void | setField(String field) Defines the name of the datarow-column from where to read the string value. |
URLEncodeExpression | public URLEncodeExpression()(Code) | | Default Constructor.
|
getEncoding | public String getEncoding()(Code) | | Returns the defined character encoding that is used to transform the Java-Unicode strings into bytes.
the encoding. |
getField | public String getField()(Code) | | Returns the name of the datarow-column from where to read the string value.
the field. |
getValue | public Object getValue()(Code) | | Encodes the value read from the defined field. The value is converted to a string using the "toString" method.
the value of the function. |
setEncoding | public void setEncoding(String encoding)(Code) | | Defines the character encoding that is used to transform the Java-Unicode strings into bytes.
Parameters: encoding - the encoding. |
setField | public void setField(String field)(Code) | | Defines the name of the datarow-column from where to read the string value.
Parameters: field - the field. |
|
|
|