Interface ValueNode<V>

    • Method Detail

      • body

        V 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.

        Implementation note Invocation of body() must provide the same value as value in NormalizedNode.getIdentifier(). true == this.getIdentifier().getValue().equals(this.body()).

        Specified by:
        body in interface NormalizedNode
        Returns:
        Returned value of this node.