Interface DOMSourceAnyxmlNode

    • Method Detail

      • body

        DOMSource body()
        Returns the body of this node. While the return value specifies Object, this method's return value has further semantics. The returned object must be a well-published contract, such as String, Collection<NormalizedNode> or DOMSource.

        The body follows the object model exposed through ForeignDataNode.bodyObjectModel()

        Returned value is a DOMSource representation. Returned source contains top level element that duplicates the anyxml node.

        Specified by:
        body in interface ForeignDataNode<DOMSource>
        Specified by:
        body in interface NormalizedNode
        Returns:
        Returned value of this node.