org.apache.xalan.lib
Class ExsltBase
java.lang.Object
org.apache.xalan.lib.ExsltBase
- Direct Known Subclasses:
- ExsltDynamic, ExsltMath, ExsltSets, ExsltStrings
- public abstract class ExsltBase
- extends Object
The base class for some EXSLT extension classes.
It contains common utility methods to be used by the sub-classes.
Method Summary |
protected static double |
toNumber(org.w3c.dom.Node n)
Convert the string value of a Node to a number.
|
protected static String |
toString(org.w3c.dom.Node n)
Return the string value of a Node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExsltBase
public ExsltBase()
toString
protected static String toString(org.w3c.dom.Node n)
- Return the string value of a Node
- Parameters:
n
- The Node.
- Returns:
- The string value of the Node
toNumber
protected static double toNumber(org.w3c.dom.Node n)
- Convert the string value of a Node to a number.
Return NaN if the string is not a valid number.
- Parameters:
n
- The Node.
- Returns:
- The number value of the Node