Interface SchemaNode

    • Method Detail

      • getQName

        @NonNull QName getQName()
        Returns QName of the instance of the type SchemaNode.
        Returns:
        QName with the name of the schema node
      • getPath

        @Deprecated
        @NonNull SchemaPath getPath()
        Deprecated.
        The idea of identifying SchemaNodes through a global path does not work. There are two problems:
        • SchemaPath does not work because it does not discern namespaces, i.e. we do not known whether the QName refers to a grouping, a typedef or a container.
        • Such a path needs to be maintained by each SchemaNode and requires us to instantiate each effective statement as a separate object (because getPath() is effectively an identity within a given EffectiveModelContext.
        Returns the schema path of the instance of the type SchemaNode.
        Returns:
        schema path of the schema node
        Throws:
        UnsupportedOperationException - when the implementation does not support per-node unique paths