Class URLEncodeExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class URLEncodeExpression
    extends AbstractExpression
    Deprecated.
    This can be replaced by a formula.
    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
    See Also:
    Serialized Form
    • Constructor Detail

      • URLEncodeExpression

        public URLEncodeExpression()
        Deprecated.
        Default Constructor.
    • Method Detail

      • getField

        public String getField()
        Deprecated.
        Returns the name of the datarow-column from where to read the string value.
        Returns:
        the field.
      • setField

        public void setField​(String field)
        Deprecated.
        Defines the name of the datarow-column from where to read the string value.
        Parameters:
        field - the field.
      • getEncoding

        public String getEncoding()
        Deprecated.
        Returns the defined character encoding that is used to transform the Java-Unicode strings into bytes.
        Returns:
        the encoding.
      • setEncoding

        public void setEncoding​(String encoding)
        Deprecated.
        Defines the character encoding that is used to transform the Java-Unicode strings into bytes.
        Parameters:
        encoding - the encoding.
      • getValue

        public Object getValue()
        Deprecated.
        Encodes the value read from the defined field. The value is converted to a string using the "toString" method.
        Returns:
        the value of the function.