jd.xml.xslt.expr
Class FormatNumber
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.StringExpression
jd.xml.xpath.expr.function.StringFunction
jd.xml.xslt.expr.FormatNumber
- All Implemented Interfaces:
- Expression, Function, XsltFunction
- public class FormatNumber
- extends StringFunction
- implements XsltFunction
FormatNumber represents the xslt function
"string format-number(number, string, string?)".
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNodeSet, toNumberValue, toString, toXObject |
TYPE
public static final FunctionType TYPE
- The function type.
FormatNumber
public FormatNumber()
getFunctionType
public FunctionType getFunctionType()
- Description copied from interface:
Function
- Return the FunctionType of the Function-
- Specified by:
getFunctionType
in interface Function
getContextDependencies
public int getContextDependencies()
- Return a bitfield indicating the function dependencies.
- Specified by:
getContextDependencies
in interface Expression
- Overrides:
getContextDependencies
in class StringFunction
initContextParameters
public void initContextParameters(StaticExprContext context)
- Set function parameters provided by the given expression context.
- Specified by:
initContextParameters
in interface XsltFunction
copyContextParameters
public void copyContextParameters(Function function)
- Specified by:
copyContextParameters
in interface XsltFunction
getNamespaceContext
public NamespaceContext getNamespaceContext()
toStringValue
public String toStringValue(XPathContext context)
- Evaluate the function.
- Specified by:
toStringValue
in interface Expression
- Specified by:
toStringValue
in class StringExpression