jp.bitmeister.asn1.type.builtin
Class NULL
java.lang.Object
jp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.PrimitiveType<java.lang.Void>
jp.bitmeister.asn1.type.builtin.NULL
- All Implemented Interfaces:
- java.lang.Cloneable
public class NULL
- extends PrimitiveType<java.lang.Void>
Represents ASN.1 'NULL' type.
An instance of this class represents a 'NULL' type data, and the value is
null
any time.
- Author:
- WATANABE, Jun.
Constructor Summary |
NULL()
Instantiates a NULL . |
Method Summary |
<E extends java.lang.Throwable>
void |
|
accept(ASN1Visitor<E> visitor)
Accepts the ASN1Visitor and calls a visit method of the
visitor. |
boolean |
hasValue()
Tests if this ASN.1 data has value. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NULL
public NULL()
- Instantiates a
NULL
.
hasValue
public boolean hasValue()
- Description copied from class:
ASN1Type
- Tests if this ASN.1 data has value.
- Overrides:
hasValue
in class PrimitiveType<java.lang.Void>
- Returns:
true
when this ASN.1 data has value.
accept
public <E extends java.lang.Throwable> void accept(ASN1Visitor<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.
- Throws:
E extends java.lang.Throwable