APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.xalan.internal.lib

public abstract Class ExsltBase

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xalan.internal.lib.ExsltDynamic, com.sun.org.apache.xalan.internal.lib.ExsltMath, com.sun.org.apache.xalan.internal.lib.ExsltSets, com.sun.org.apache.xalan.internal.lib.ExsltStrings
Imports
com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy, org.w3c.dom.Node, .NodeList

The base class for some EXSLT extension classes. It contains common utility methods to be used by the sub-classes.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected static double

Returns:

The number value of the Node
toNumber
(Node
The Node.
n
)

Convert the string value of a Node to a number.

protected static String

Returns:

The string value of the Node
toString
(Node
The Node.
n
)

Return the string value of a Node

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExsltBaseback to summary
public ExsltBase()

Method Detail

toNumberback to summary
protected static double toNumber(Node n)

Convert the string value of a Node to a number. Return NaN if the string is not a valid number.

Parameters
n:Node

The Node.

Returns:double

The number value of the Node

toStringback to summary
protected static String toString(Node n)

Return the string value of a Node

Parameters
n:Node

The Node.

Returns:String

The string value of the Node