com.bea.document
Class BooleanDocumentData

java.lang.Object
  extended bycom.bea.document.DocumentData
      extended bycom.bea.document.BooleanDocumentData

public class BooleanDocumentData
extends DocumentData

Represents a boolean 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 a logical expression in the XPath string passed to IDocument.getDocumentData().
For example, the string "//rootElement/@name = 'blah'" will return a BooleanDocumentData object. If the XPath refers to non-existent nodes, the result is false.

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
BooleanDocumentData(boolean 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

BooleanDocumentData

public BooleanDocumentData(boolean value)