jp.bitmeister.asn1.type.builtin
Class RELATIVE_OID
java.lang.Object
jp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.PrimitiveType<java.util.List<java.lang.Integer>>
jp.bitmeister.asn1.type.builtin.OBJECT_IDENTIFIER
jp.bitmeister.asn1.type.builtin.RELATIVE_OID
- All Implemented Interfaces:
- java.lang.Cloneable
public class RELATIVE_OID
- extends OBJECT_IDENTIFIER
Represents ASN.1 'RELATIVE-OID' type.
An instance of this class represents an 'RELATIVE-OID' type data and
contains a List
of Integer
. Each element of the List
represents an object id component.
- Author:
- WATANABE, Jun.
Constructor Summary |
RELATIVE_OID()
Instantiates an empty RELATIVE_OID . |
RELATIVE_OID(int... value)
Instantiates an RELATIVE_OID and initialize it with the
array of int value. |
RELATIVE_OID(java.util.List<java.lang.Integer> value)
Instantiates an RELATIVE_OID and initialize it with the
List<Integer> value. |
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RELATIVE_OID
public RELATIVE_OID()
- Instantiates an empty
RELATIVE_OID
.
RELATIVE_OID
public RELATIVE_OID(java.util.List<java.lang.Integer> value)
- Instantiates an
RELATIVE_OID
and initialize it with the
List<Integer>
value.
- Parameters:
value
- the List
of Integer
represents an object
identifier.
RELATIVE_OID
public RELATIVE_OID(int... value)
- Instantiates an
RELATIVE_OID
and initialize it with the
array of int
value.
- Parameters:
value
- the array of int
represents an object identifier.
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.
- Overrides:
accept
in class OBJECT_IDENTIFIER
- Parameters:
visitor
- The visitor.
- Returns:
- Result.
- Throws:
E
- When an error occured in the visit
method of the
visitor.
E extends java.lang.Throwable
Copyright © 2012 BitMeister Inc. All Rights Reserved.