Class TagDecoders

java.lang.Object
com.oss.metadata.TagDecoders

public class TagDecoders extends Object
The TagDecoders class represents an array of tag decoders for the SEQUENCE type.
Since:
ASN.1/Java 2.1
  • Method Details

    • count

      public int count() throws MetadataException
      Returns the number of tag decoders in the array. Returns zero (0) if there is no array.
      Returns:
      number of tag decoders in the list
      Throws:
      MetadataException - if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.
    • getTagDecoder

      public TagDecoder getTagDecoder(int i, Object context) throws MetadataException
      Return the i-th index of the array, with i = 0 being the first value index.
      Parameters:
      i - the index of the element to return.
      context - is not used.
      Returns:
      i-th element from the list.
      Throws:
      MetadataException - if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.