Class AbstractAnyxmlNode<T>
java.lang.Object
org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode<AnyxmlNode<T>>
org.opendaylight.yangtools.yang.data.api.schema.AbstractAnyxmlNode<T>
- All Implemented Interfaces:
Immutable
,PrettyTreeAware
,AnyxmlNode<T>
,DataContainerChild
,ForeignDataNode<T>
,NormalizedData
,NormalizedNode
public abstract non-sealed class AbstractAnyxmlNode<T>
extends AbstractNormalizedNode<AnyxmlNode<T>>
implements AnyxmlNode<T>
Abstract base class for
AnyxmlNode
implementations.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.AnyxmlNode
AnyxmlNode.Builder<V,
N extends AnyxmlNode<V>> Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
NormalizedNode.Builder, NormalizedNode.BuilderFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal T
body()
Returns the body of this node.protected final Class
<AnyxmlNode<T>> protected abstract T
value()
protected final boolean
valueEquals
(AnyxmlNode<T> other) protected final int
protected abstract T
Methods inherited from class org.opendaylight.yangtools.yang.data.api.schema.AbstractNormalizedNode
addToStringAttributes, equals, hashCode, prettyTree, toString, toStringClass
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
name
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.ForeignDataNode
body, bodyObjectModel
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
Constructor Details
-
AbstractAnyxmlNode
public AbstractAnyxmlNode()
-
-
Method Details
-
implementedType
- Specified by:
implementedType
in classAbstractNormalizedNode<AnyxmlNode<T>>
-
valueHashCode
protected final int valueHashCode()- Specified by:
valueHashCode
in classAbstractNormalizedNode<N extends NormalizedNode>
-
valueEquals
- Specified by:
valueEquals
in classAbstractNormalizedNode<N extends NormalizedNode>
-
body
Description copied from interface:NormalizedData
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
.- Returns:
- Returned value of this node.
-
value
-
wrappedValue
-