|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.xpath.XPathUtil
Utility class for common XPath operations.
Constructor Summary | |
XPathUtil()
|
Method Summary | |
static boolean |
xpathBoolean(Object object)
Invoke the XPath 'boolean' function on the argument. |
static double |
xpathNumber(Object object)
Invoke the XPath 'number' function on the argument. |
static String |
xpathString(Object object)
Invoke the XPath 'string' function on the argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathUtil()
Method Detail |
public static String xpathString(Object object)
object
- the argument to convert to a string. Cannot be null
NullPointerException
- if object
is null
.public static boolean xpathBoolean(Object object)
object
- the argument to convert to a boolean. Cannot be null
NullPointerException
- if object
is null
.public static double xpathNumber(Object object)
object
- the argument to convert to a number (double). Cannot be null
NullPointerException
- if object
is null
.
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |