Class URLEncodeFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
URLEncodeFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
URL encodes a string.
This function expects:
- Literal: String to be URL encoded
- Literal: (Optional) Boolean indicating if string should be form URL encoded (defaults to false)
- Author:
- Billy Newman (BIT Systems)
- See Also:
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, paramsFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
The FunctionName
-
-
Constructor Details
-
URLEncodeFunction
public URLEncodeFunction()Create a new FilterFunction_strURLEncode instance
-
-
Method Details
-
evaluate
URL encode the string.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- The URL encoded string
-