com.saxonica.functions.xpath3
Class TrigonometricFn.AcosFn
java.lang.Object
net.sf.saxon.lib.ExtensionFunctionDefinition
com.saxonica.functions.xpath3.TrigonometricFn
com.saxonica.functions.xpath3.TrigonometricFn.AcosFn
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- TrigonometricFn
public static class TrigonometricFn.AcosFn
- extends TrigonometricFn
Implement math:acos
- See Also:
- Serialized Form
Method Summary |
protected double |
compute(double input)
The function that does the work, which must be implemented in subclasses |
StructuredQName |
getFunctionQName()
Get the name of the function, as a QName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrigonometricFn.AcosFn
public TrigonometricFn.AcosFn()
getFunctionQName
public StructuredQName getFunctionQName()
- Description copied from class:
ExtensionFunctionDefinition
- Get the name of the function, as a QName.
This method must be implemented in all subclasses
- Specified by:
getFunctionQName
in class ExtensionFunctionDefinition
- Returns:
- the function name
compute
protected double compute(double input)
- Description copied from class:
TrigonometricFn
- The function that does the work, which must be implemented in subclasses
- Specified by:
compute
in class TrigonometricFn
- Parameters:
input
- the input value
- Returns:
- the result
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.