Package com.oss.metadata
Class DeferredComponentInfo
java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.DeferredComponentInfo
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 Summary
Modifier and TypeMethodDescriptionReturns the type of the field that is deferred.getComponentType
(Object context) Returns the type of the field that is deferred.boolean
Returns whether the tag of the field is implicit or not.boolean
Return true if the type is a simple type.Methods inherited from class com.oss.metadata.TypeInfo
createInstance, createInstance, forName, forName, getASN1ModuleName, getASN1TypeName, getClassName, getConstraints, getJavaClass, getJavaClass, getName, getTags, isExtensible, isNullable, isPrimitive, isSorted, isUseableByBER, isUseableByCER, isUseableByDER, isUseableByEXER, isUseableByJSON, isUseableByOER, isUseableByPER, isUseableByXER, isUserClass, isUseThreadContextClassLoader, setUseThreadContextClassLoader
-
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 classTypeInfo
- Returns:
- true if the type is a simple type.
-
getComponentType
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
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.
-