Interface DOMSourceAnyxmlNode
- All Superinterfaces:
AnyxmlNode<DOMSource>
,DataContainerChild
,ForeignDataNode<DOMSource>
,NormalizedData
,NormalizedNode
,PrettyTreeAware
An AnyxmlNode with data in
DOMSource
format.-
Method Summary
Modifier and TypeMethodDescriptionbody()
Returns the body of this node.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.DataContainerChild
getIdentifier, name
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
Method Details
-
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 interfaceNormalizedData
- Returns:
- Returned value of this node.
-