All Superinterfaces:
DataTreeAwareEffectiveStatement<QName,ChoiceStatement>, EffectiveStatement<QName,ChoiceStatement>, ModelStatement<QName>, SchemaTreeAwareEffectiveStatement<QName,ChoiceStatement>, SchemaTreeEffectiveStatement<ChoiceStatement>

Effective representation of a choice statement.
  • Method Details

    • statementDefinition

      default StatementDefinition statementDefinition()
      Description copied from interface: ModelStatement
      Statement Definition of this statement.
      Specified by:
      statementDefinition in interface ModelStatement<QName>
      Returns:
      definition of this statement.
    • findCase

      default @NonNull Optional<CaseEffectiveStatement> findCase(@NonNull QName qname)
      Namespace of available cases in a choice node. According to RFC7950 section 6.2.1:
           All cases within a choice share the same case identifier
           namespace.  This namespace is scoped to the parent choice node.