Interface NormalizedNode

All Superinterfaces:
Identifiable<YangInstanceIdentifier.PathArgument>, PrettyTreeAware
All Known Subinterfaces:
AnydataNode<V>, AnyxmlNode<V>, AugmentationNode, ChoiceNode, ContainerNode, DataContainerChild, DataContainerNode, DistinctNodeContainer<K,V>, DOMSourceAnyxmlNode, ForeignDataNode<V>, LeafNode<T>, LeafSetEntryNode<T>, LeafSetNode<T>, MapEntryNode, MapNode, MountPointNode, NormalizedNodeContainer<V>, OrderedNodeContainer<V>, SystemLeafSetNode<T>, SystemMapNode, UnkeyedListEntryNode, UnkeyedListNode, UserLeafSetNode<T>, UserMapNode, ValueNode<V>
All Known Implementing Classes:
AbstractImmutableDataContainerNode, AbstractImmutableNormalizedSimpleValueNode, AbstractImmutableNormalizedValueNode, AbstractNormalizedNode, ImmutableContainerNodeBuilder.ImmutableContainerNode, ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode, ImmutableMapNodeBuilder.ImmutableMapNode, ImmutableMountPointNode, ImmutableUnkeyedListEntryNodeBuilder.ImmutableUnkeyedListEntryNode, ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode, ImmutableUnkeyedListNodeBuilder.ImmutableUnkeyedListNode, ImmutableUserLeafSetNodeBuilder.ImmutableUserLeafSetNode, ImmutableUserMapNodeBuilder.ImmutableUserMapNode

public interface NormalizedNode extends Identifiable<YangInstanceIdentifier.PathArgument>, PrettyTreeAware
Node which is normalized according to the YANG schema is identifiable by a YangInstanceIdentifier.

See subinterfaces of this interface for concretization of node.

  • Method Details

    • getIdentifier

      Description copied from interface: Identifiable
      Return this objects Identifier.
      Specified by:
      getIdentifier in interface Identifiable<YangInstanceIdentifier.PathArgument>
      Returns:
      Object's identifier, must not be null.
    • contract

      @NonNull Class<? extends NormalizedNode> contract()
      Return the contract governing this NormalizedNode instance.
      Returns:
      A class identifying the NormalizedNode contract.
      API Note:
      This method should be specialized in intermediate contracts like MapNode and implemented as a default method by interfaces which form the contracts themselves, for example ContainerNode, LeafNode and similar.
    • body

      @NonNull Object body()
      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.