Package com.oss.metadata
Class TagDecoders
java.lang.Object
com.oss.metadata.TagDecoders
The TagDecoders class represents an array of tag decoders for
the SEQUENCE type.
- Since:
- ASN.1/Java 2.1
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
Returns the number of tag decoders in the array.getTagDecoder
(int i, Object context) Return the i-th index of the array, with i = 0 being the first value index.
-
Method Details
-
count
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
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.
-