com.bea.document
Class StringDocumentData
java.lang.Object
com.bea.document.DocumentData
com.bea.document.StringDocumentData
- public class StringDocumentData
- extends DocumentData
Represents a string 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 string type.
For example, the string "string(//rootElement/@myAttr)" will return a
StringDocumentData object. If the XPath refers to non-existent nodes,
the result is an empty string.
- 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 |
StringDocumentData
public StringDocumentData(String value)