Interface DOMSourceAnyxmlNode

All Superinterfaces:
AnyxmlNode<DOMSource>, DataContainerChild, ForeignDataNode<DOMSource>, Identifiable<YangInstanceIdentifier.PathArgument>, NormalizedNode, PrettyTreeAware

public interface DOMSourceAnyxmlNode extends AnyxmlNode<DOMSource>
An AnyxmlNode with data in DOMSource format.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the body of this node.
    default Class<DOMSource>
    Return the object model class, which identifies it.

    Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.AnyxmlNode

    contract

    Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.ForeignDataNode

    getIdentifier

    Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware

    prettyTree
  • Method Details

    • bodyObjectModel

      default Class<DOMSource> bodyObjectModel()
      Description copied from interface: ForeignDataNode
      Return the object model class, which identifies it. For example DOMSourceAnyxmlNode uses DOMSource as its value object model.
      Specified by:
      bodyObjectModel in interface ForeignDataNode<DOMSource>
      Returns:
      Object model class
    • 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.