Rework NormalizedNode type hierarchy
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / DOMSourceAnyxmlNode.java
index b5be957c1353a25357eaedaf094b575d607dfced..00d56042bd03069ef745a8f32e9fc2c775c25b36 100644 (file)
@@ -14,16 +14,17 @@ import javax.xml.transform.dom.DOMSource;
  */
 public interface DOMSourceAnyxmlNode extends AnyxmlNode<DOMSource> {
     @Override
-    default Class<DOMSource> getValueObjectModel() {
+    default Class<DOMSource> bodyObjectModel() {
         return DOMSource.class;
     }
 
     /**
-     * Return value represented as a DOMSource. Returned source contains top level element
-     * that duplicates the anyxml node.
+     * {@inheritDoc}
      *
-     * @return anyxml node value represented as DOMSource.
+     * <p>
+     * Returned value is a DOMSource representation. Returned source contains top level element that duplicates the
+     * anyxml node.
      */
     @Override
-    DOMSource getValue();
+    DOMSource body();
 }