Interface XPathDocument<T>

  • Type Parameters:
    T - Object model node type
    All Known Subinterfaces:
    DataTreeCandidateDocument, NormalizedNodeDocument

    @Beta
    public interface XPathDocument<T>
    The notion of a W3C documented bound to a specific object model. This binding is expressed in terms of the document exposing a root node from the object model.

    This interface is not meant to be used directly. Refer to its specializations like NormalizedNodeDocument and DataTreeCandidateDocument.

    Author:
    Robert Varga
    • Method Detail

      • getRootNode

        @NonNull T getRootNode()
        Return the root node of this document.
        Returns:
        This document's root node.