jp.bitmeister.asn1.type.builtin
Class BOOLEAN

java.lang.Object
  extended by jp.bitmeister.asn1.type.ASN1Type
      extended by jp.bitmeister.asn1.type.PrimitiveType<java.lang.Boolean>
          extended by jp.bitmeister.asn1.type.builtin.BOOLEAN
All Implemented Interfaces:
java.lang.Cloneable

public class BOOLEAN
extends PrimitiveType<java.lang.Boolean>

Represents ASN.1 'BOOLEAN' type.

An instance of this class represents a 'BOOLEAN' type data, and has a Boolean value.

Author:
WATANABE, Jun.

Field Summary
 
Fields inherited from class jp.bitmeister.asn1.type.ASN1Type
stringBuilder
 
Constructor Summary
BOOLEAN()
          Instantiates an empty BOOLEAN.
BOOLEAN(java.lang.Boolean value)
          Instantiates a BOOLEAN and initialize it with the Boolean value.
 
Method Summary
<E extends java.lang.Throwable>
void
accept(ASN1Visitor<E> visitor)
          Accepts the ASN1Visitor and calls a visit method of the visitor.
 
Methods inherited from class jp.bitmeister.asn1.type.PrimitiveType
clear, clone, cloneValue, hashCode, hasValue, set, value, valueEquals
 
Methods inherited from class jp.bitmeister.asn1.type.ASN1Type
equals, instantiate, matches, specification, toString, validate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BOOLEAN

public BOOLEAN()
Instantiates an empty BOOLEAN.


BOOLEAN

public BOOLEAN(java.lang.Boolean value)
Instantiates a BOOLEAN and initialize it with the Boolean value.

Parameters:
value - The value to be assigned.
Method Detail

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