Class EnumeratedInfo

java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.EnumeratedInfo

public class EnumeratedInfo extends TypeInfo
The EnumeratedInfo class represents the properties of the ASN.1 type ENUMERATED. The following example:
    A ::= ENUMERATED {a(10), b(20), c(30),... ,d(40), e(50)}
    
contains both a memberList (of a, b, c, d and e), and an extension (of 2).
Since:
ASN.1/Java 2.1
  • Method Details

    • getEnumerationList

      public MemberList getEnumerationList()
      Return the enumerated list of named numbers.
      Returns:
      reference to a list of named numbers.
    • extensionsCount

      public int extensionsCount()
      Returns the number of enumeration elements that are defined after the extension marker.
      Returns:
      number of enumeration elements that appear in the type definition after the extension marker.