Interface DOMSourceAnyxmlNode
-
- All Superinterfaces:
AnyxmlNode<DOMSource>
,DataContainerChild
,ForeignDataNode<DOMSource>
,Identifiable<YangInstanceIdentifier.PathArgument>
,NormalizedNode
,PrettyTreeAware
public interface DOMSourceAnyxmlNode extends AnyxmlNode<DOMSource>
An AnyxmlNode with data inDOMSource
format.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DOMSource
body()
Returns the body of this node.default Class<DOMSource>
bodyObjectModel()
Return the object model class, which identifies it.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.AnyxmlNode
contract, getIdentifier
-
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
-
-
-
Method Detail
-
bodyObjectModel
default Class<DOMSource> bodyObjectModel()
Description copied from interface:ForeignDataNode
Return the object model class, which identifies it. For exampleDOMSourceAnyxmlNode
usesDOMSource
as its value object model.- Specified by:
bodyObjectModel
in interfaceForeignDataNode<DOMSource>
- Returns:
- Object model class
-
body
DOMSource body()
Returns the body of this node. While the return value specifiesObject
, this method's return value has further semantics. The returned object must be a well-published contract, such asString
,Collection<NormalizedNode>
orDOMSource
.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 interfaceForeignDataNode<DOMSource>
- Specified by:
body
in interfaceNormalizedNode
- Returns:
- Returned value of this node.
-
-