Class DeferredComponentInfo

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

public class DeferredComponentInfo extends TypeInfo
The DeferredComponentInfo class represents the properties of an ASN.1 structured type component described with the DeferDecoding directive.
Since:
ASN.1/Java 2.1
  • Method Details

    • isSimpleType

      public boolean isSimpleType()
      Return true if the type is a simple type. The type is simple if it is not a set, sequence, set-of, sequence-of, choice, embedded-pdv, external or unrestricted character string type.
      Overrides:
      isSimpleType in class TypeInfo
      Returns:
      true if the type is a simple type.
    • getComponentType

      public TypeInfo getComponentType() throws MetadataException
      Returns the type of the field that is deferred.
      Returns:
      descriptor for the type of the component
      Throws:
      MetadataException - if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.
    • getComponentType

      public TypeInfo getComponentType(Object context) throws MetadataException
      Returns the type of the field that is deferred.
      Parameters:
      context - project environment
      Returns:
      descriptor for the type of the component
      Throws:
      MetadataException - if attempt to resolve the weak reference fails: class could not be found or typeInfo was not available.
    • hasImplicitTag

      public boolean hasImplicitTag()
      Returns whether the tag of the field is implicit or not.
      Returns:
      true if the component is implicitly tagged.