org.apache.xalan.lib
Class ExsltBase

java.lang.Object
  extended byorg.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.


Constructor Summary
ExsltBase()
           
 
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
 

Constructor Detail

ExsltBase

public ExsltBase()
Method Detail

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