jp.bitmeister.asn1.type
Class StructuredType
java.lang.Object
jp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.StructuredType
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ConstructiveType, SelectiveType
public abstract class StructuredType
- extends ASN1Type
The base type for structured types.
This class provides generic interfaces for classes that represents structured
types. This class is the parent class of ConstructiveType and
SelectiveType.
- Author:
- WATANABE, Jun.
- See Also:
ConstructiveType,
SelectiveType
|
Method Summary |
abstract ASN1Type |
get(java.lang.String elementName)
Gets the ASN.1 data from the element specified by the identifier of this
instance. |
abstract void |
set(NamedTypeSpecification namedType,
ASN1Type component)
Sets the ASN.1 data to the element specified by the
NamedTypeSpecification of this instance. |
abstract void |
set(java.lang.String elementName,
ASN1Type component)
Sets the ASN.1 data to the element specified by the identifier of this
instance. |
| Methods inherited from class jp.bitmeister.asn1.type.ASN1Type |
accept, clear, clone, equals, hashCode, hasValue, instantiate, matches, specification, toString, validate, valueEquals |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
StructuredType
public StructuredType()
set
public abstract void set(NamedTypeSpecification namedType,
ASN1Type component)
- Sets the ASN.1 data to the element specified by the
NamedTypeSpecification of this instance.
- Parameters:
namedType - Indicates the element that the data to be assigned.component - The data to be assigned.
set
public abstract void set(java.lang.String elementName,
ASN1Type component)
- Sets the ASN.1 data to the element specified by the identifier of this
instance.
- Parameters:
elementName - The identifier of element.component - The ASN.1 data to be assigned
get
public abstract ASN1Type get(java.lang.String elementName)
- Gets the ASN.1 data from the element specified by the identifier of this
instance.
- Parameters:
elementName - The identifier of element.
- Returns:
- The ASN.1 data of the element.