IDocumentElement Interface
- public interface IDocumentElement
extends ITreeElement
A document element is an element that represents the contents of the document.
It extends tree element because this is the most common mechanism to describe a
document's contents. It is also expressive enough to capture nearly all possible
data structures including DAGs and graphs.
-
All Known Implementing Classes
-
DefaultDocumentElement
, ControlVariable
, ControlMethod
, DefaultSourceElement
-
All Superinterfaces
-
IElement
, ITreeElement
-
All Known Subinterfaces
-
IDOMSourceElement
, ILinkedElement
, ISourceElement
getDocument() Method
public IDocument
getDocument()
Retrieve the document that this element is associated with. The document
may be stored directly in this element, or the element may know how to find
the document from a parent or other information.
Returns
- The document object that contains the data represented by this element