Class AbstractImmutableNormalizedValueNode<K extends YangInstanceIdentifier.PathArgument,N extends NormalizedNode,V>

All Implemented Interfaces:
Identifiable<YangInstanceIdentifier.PathArgument>, Immutable, PrettyTreeAware, NormalizedNode
Direct Known Subclasses:
AbstractImmutableNormalizedSimpleValueNode, ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode, ImmutableUnkeyedListNodeBuilder.ImmutableUnkeyedListNode

public abstract class AbstractImmutableNormalizedValueNode<K extends YangInstanceIdentifier.PathArgument,N extends NormalizedNode,V> extends AbstractNormalizedNode<K,N>
  • Constructor Details

    • AbstractImmutableNormalizedValueNode

      protected AbstractImmutableNormalizedValueNode(K nodeIdentifier, @NonNull V value)
  • Method Details

    • body

      public final V body()
      Description copied from interface: NormalizedNode
      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.
      Returns:
      Returned value of this node.
    • value

      protected final @NonNull V value()
    • wrapValue

      protected V wrapValue(V valueToWrap)