Class SequenceInfo

Direct Known Subclasses:
EmbeddedPDVInfo

public class SequenceInfo extends CollectionInfo
The SequenceInfo class represents the properties of the ASN.1 SEQUENCE type.
Since:
ASN.1/Java 2.1
  • Method Details

    • getTagDecoders

      public TagDecoders getTagDecoders()
      Returns the list of tag decoders.
      Returns:
      list of tag decoders
    • getAttributeTagDecoder

      public com.oss.metadata.XTagDecoder getAttributeTagDecoder()
      Returns an XML tag decoder used to decode fields which are represented as XML attributes. This method returns null unless the XTags object associated with this type has the cHAS_ATTRIBUTES flag set.
      Returns:
      the tag decoder to decode attributes.
    • getXTagDecoders

      public com.oss.metadata.XTagDecoders getXTagDecoders()
      Returns list of XML tag decoders.
      Returns:
      list of XML tag decoders
    • insertionPoint

      public int insertionPoint()
      Returns the location of the extension marker in the SEQUENCE type. The insertionPoint is zero (0) if there is no extension marker in the SEQUENCE definition. The extension marker is the number of preceding fields plus one (1).
      Returns:
      position of the extension marker in the ASN.1 definition.
    • getOptional

      public int getOptional() throws MetadataException
      Returns the number of optional components.
      Returns:
      number of optional components
      Throws:
      MetadataException - if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.