Package com.oss.metadata
Class SequenceInfo
java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.CollectionInfo
com.oss.metadata.SequenceInfo
- Direct Known Subclasses:
EmbeddedPDVInfo
The SequenceInfo class represents the properties of the ASN.1 SEQUENCE type.
- Since:
- ASN.1/Java 2.1
-
Method Summary
Modifier and TypeMethodDescriptioncom.oss.metadata.XTagDecoder
Returns an XML tag decoder used to decode fields which are represented as XML attributes.int
Returns the number of optional components.Returns the list of tag decoders.com.oss.metadata.XTagDecoders
Returns list of XML tag decoders.int
Returns the location of the extension marker in the SEQUENCE type.Methods inherited from class com.oss.metadata.CollectionInfo
getFields, isSimpleType, numberOfKnownExtensions
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
-
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 theXTags
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
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.
-