Interface VirtualNode

    • Method Detail

      • getUnderlyingNode

        java.lang.Object getUnderlyingNode()
        Get the node underlying this virtual node. Note that this may itself be a VirtualNode; you may have to drill down through several layers of wrapping.

        In some cases a single VirtualNode may represent an XPath text node that maps to a sequence of adjacent nodes (for example text nodes and CDATA nodes) in the underlying tree. In this case the first node in this sequence is returned.

        Returns:
        The underlying node.
      • getRealNode

        java.lang.Object getRealNode()
        Get the node underlying this virtual node. If this is a VirtualNode the method will automatically drill down through several layers of wrapping.

        In some cases a single VirtualNode may represent an XPath text node that maps to a sequence of adjacent nodes (for example text nodes and CDATA nodes) in the underlying tree. In this case the first node in this sequence is returned.

        Returns:
        The underlying node.