Interface YangInstanceIdentifier.PathArgument

    • Method Detail

      • getNodeType

        @NonNull QName getNodeType()
        Returns unique QName of data node as defined in YANG Schema, if available.
        Returns:
        Node type
        Throws:
        UnsupportedOperationException - if node type is not applicable, for example in case of an augmentation.
      • toRelativeString

        @NonNull String toRelativeString​(YangInstanceIdentifier.PathArgument previous)
        Return the string representation of this object for use in context provided by a previous object. This method can be implemented in terms of YangInstanceIdentifier.toString(), but implementations are encourage to reuse any context already emitted by the previous object.
        Parameters:
        previous - Previous path argument
        Returns:
        String representation