numberValueOf
evaluates an XPath expression and returns the numeric value of the XPath expression if the XPath expression results is a number, or null if the result is not a number.
The number-value of the expression is determined per the number(..)
core function as defined in the XPath specification. This means that if this expression selects multiple nodes, the number-value of the first node is returned.
The number-value of the expression is determined per the number(..)
core function as defined in the XPath specification. This means that if this expression selects multiple nodes, the number-value of the first node is returned.
null
if no node was selected or the special value {@link java.lang.Double#NaN}(Not-a-Number) if the selected value can not be converted into a number value.
@throws JDOMException if the XPath expression is invalid orits evaluation on the specified context failed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|