Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

Field Summary

Fields inherited from class com.bea.document.DocumentData
`TYPE_BOOLEAN, TYPE_NODESET, TYPE_NULL, TYPE_NUMBER, TYPE_RTREEFRAG, TYPE_STRING, TYPE_UNKNOWN`

Constructor Summary
`NumberDocumentData(double value)`

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`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NumberDocumentData

    public NumberDocumentData(double value)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD