jp.bitmeister.asn1.type.builtin
Class SEQUENCE
java.lang.Object
jp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.StructuredType
jp.bitmeister.asn1.type.ConstructiveType
jp.bitmeister.asn1.type.builtin.SEQUENCE
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- EMBEDDED_PDV, EMBEDDED_PDV.ContextNegotiation, EMBEDDED_PDV.Syntaxes, EXTERNAL
public abstract class SEQUENCE
- extends ConstructiveType
Represents ASN.1 'SEQUENCE' type.
This is the base class used for defining 'SEQUENCE' types. A sub-class of
SEQUENCE
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
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, getElementTypeList, hashCode, hasValue, set, set, validate, valueEquals |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SEQUENCE
public SEQUENCE()
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