Class DocumentImpl

  • All Implemented Interfaces:
    Document, Node

    public class DocumentImpl
    extends NodeImpl
    implements Document
    A read-only W3C DOM Node implementation of MarkLogic's internal representation of an XML or text document as stored in the expanded tree cache of a forest on disk.

    This interface is effectively read-only: Setters and update methods inherited from org.w3c.Node are not supported and will raise an exception if called. To create a modifiable copy of a node for XML document, use cloneNode(boolean). Text document cannot be cloned.