com.bea.document
Class StringDocumentData

java.lang.Object
  extended bycom.bea.document.DocumentData
      extended bycom.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)

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
StringDocumentData(String 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

StringDocumentData

public StringDocumentData(String value)