com.bea.document
Class NumberDocumentData
java.lang.Object
com.bea.document.DocumentData
com.bea.document.NumberDocumentData
- public class NumberDocumentData
- extends DocumentData
Represents a numeric value within a DOM tree. Objects of this
class may be returned by IDocument.getDocumentData() or may be created for
use in IDocument.addDocumentData(String, DocumentData). Objects of this
type result from an expression in the XPath string passed to
IDocument.getDocumentData() which refers to an element or attribute with
a numeric type.
For example, the string "number(//rootElement/@numericAttr)" will return a
NumberDocumentData object. If the XPath refers to non-existent nodes,
the result is NaN.
- See Also:
IDocument.getDocumentData(String)
,
IDocument.addDocumentData(String, DocumentData)
Methods inherited from class com.bea.document.DocumentData |
createDocumentData, dump, dump, equals, getType, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, toBoolean, toNodeIterator, toNodeSet, toNumber, toObject, toRtree, toStr, toXML |
NumberDocumentData
public NumberDocumentData(double value)