Class FunctionSTR2WEB
java.lang.Object
com.igormaznitsa.jcp.expression.functions.AbstractFunction
com.igormaznitsa.jcp.expression.functions.AbstractStrConverter
com.igormaznitsa.jcp.expression.functions.FunctionSTR2WEB
- All Implemented Interfaces:
ExpressionItem
The class implements the str2web function handler
-
Field Summary
Fields inherited from class com.igormaznitsa.jcp.expression.functions.AbstractFunction
ALL_FUNCTIONS, EXECUTION_PREFIX, FUNCTION_NAME_MAP, UID_COUNTER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteStr
(PreprocessorContext context, Value value) getName()
Get the function nameGet the function reference to be output for a help requestGet the result typeMethods inherited from class com.igormaznitsa.jcp.expression.functions.AbstractStrConverter
getAllowedArgumentTypes, getArity
Methods inherited from class com.igormaznitsa.jcp.expression.functions.AbstractFunction
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toString
-
Constructor Details
-
FunctionSTR2WEB
public FunctionSTR2WEB()
-
-
Method Details
-
getName
Description copied from class:AbstractFunction
Get the function name- Specified by:
getName
in classAbstractFunction
- Returns:
- the function name in lower case, must not be null
-
executeStr
- Specified by:
executeStr
in classAbstractStrConverter
-
getReference
Description copied from class:AbstractFunction
Get the function reference to be output for a help request- Specified by:
getReference
in classAbstractFunction
- Returns:
- the function information as a String, must not be null
-
getResultType
Description copied from class:AbstractFunction
Get the result type- Specified by:
getResultType
in classAbstractFunction
- Returns:
- the result type of the function, must not be null
-