Class ContainingBitStringInfo


public class ContainingBitStringInfo extends BitStringInfo
The ContainingBitStringInfo class represents the properties of an ASN.1 type BIT STRING constrained by a ContentsConstraint. Contents Constraints have been supported since version 1.5.
Since:
ASN.1/Java 2.1
  • Method Details

    • getContainedType

      public TypeInfo getContainedType() throws MetadataException
      Returns the type metadata for the contained type if there is one.
      Returns:
      type info for the contained type or null if there is no CONTAINING clause
      Throws:
      MetadataException - thrown if an error occurs while accessing the metadata.
    • getContainedType

      public TypeInfo getContainedType(Object context) throws MetadataException
      Returns the type metadata for the contained type if there is one.
      Parameters:
      context - project environment
      Returns:
      type info for the contained type or null if there is no CONTAINING clause
      Throws:
      MetadataException - thrown if an error occurs while accessing the metadata.