Package com.oss.metadata
Class SetInfo
java.lang.Object
com.oss.metadata.TypeInfo
com.oss.metadata.CollectionInfo
com.oss.metadata.SetInfo
The SetInfo class represents the properties of the ASN.1 SET 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 tag decoder for the SET type.com.oss.metadata.XTagDecoder
Returns the XML tag decoder.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
-
getTagDecoder
Returns the tag decoder for the SET type.- Returns:
- tag decoder
-
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.
-
getXTagDecoder
public com.oss.metadata.XTagDecoder getXTagDecoder()Returns the XML tag decoder.- Returns:
- the XML tag decoder.
-
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.
-