jp.bitmeister.asn1.type.builtin
Class SET
java.lang.Object
jp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.StructuredType
jp.bitmeister.asn1.type.ConstructiveType
jp.bitmeister.asn1.type.builtin.SET
- All Implemented Interfaces:
- java.lang.Cloneable
public abstract class SET
- extends ConstructiveType
Represents ASN.1 'SET' type.
This is the base class used for defining 'SET' types. A sub-class of
SET
can contain one or more fields annotated as @ASN1Element
.
Each @ASN1Element
fields in an instance except optional ones must be
assigned value when the instance is encoded.
- Author:
- WATANABE, Jun.
- See Also:
ASN1Element
Constructor Summary |
SET()
|
Method Summary |
<R,E extends java.lang.Throwable>
R |
|
accept(ASN1Visitor<R,E> visitor)
Accepts the ASN1Visitor and calls a visit method of the
visitor. |
Methods inherited from class jp.bitmeister.asn1.type.ConstructiveType |
clear, clone, get, getComponent, getElement, getElementTypeList, hashCode, hasValue, set, set, validate, valueEquals |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SET
public SET()
accept
public <R,E extends java.lang.Throwable> R accept(ASN1Visitor<R,E> visitor)
throws E extends java.lang.Throwable
- Description copied from class:
ASN1Type
- Accepts the
ASN1Visitor
and calls a visit
method of the
visitor.
- Specified by:
accept
in class ASN1Type
- Parameters:
visitor
- The visitor.
- Returns:
- Result.
- Throws:
E
- When an error occured in the visit
method of the
visitor.
E extends java.lang.Throwable