jd.xml.xslt.extension.exslt
Class CommonFunctions

java.lang.Object
  extended byjd.xml.xslt.extension.exslt.CommonFunctions

public abstract class CommonFunctions
extends Object

The Functions of the EXSLT Common Module. They are made available by an JavaExtensionHandler.


Constructor Summary
CommonFunctions()
           
 
Method Summary
static XNodeSet nodeSet(XObject object)
          Convert the value to a NodeSet.
static XString objectType(XObject object)
          Return the type name of a XObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonFunctions

public CommonFunctions()
Method Detail

nodeSet

public static XNodeSet nodeSet(XObject object)
                        throws XsltException
Convert the value to a NodeSet. Since jd.xslt is 1.1 processor and does not deal with Result Tree Fragments this is a real backward compatibility function.

Throws:
XsltException

objectType

public static XString objectType(XObject object)
Return the type name of a XObject.