jp.bitmeister.asn1.processor
Interface ASN1Visitor<E extends java.lang.Throwable>

All Known Implementing Classes:
ASN1StringBuilder, ASN1VisitorAdaptor, BerDecoder, DerEncoder

public interface ASN1Visitor<E extends java.lang.Throwable>

Interface for classes which behave as visitor of ASN.1 types.

Author:
WATANABE, Jun.

Method Summary
 void visit(ANY data)
          Visits the ANY data.
 void visit(BIT_STRING data)
          Visits the BIT_STRING data.
 void visit(BOOLEAN data)
          Visits the BOOLEAN data.
 void visit(CHOICE data)
          Visits the CHOICE data.
 void visit(ENUMERATED data)
          Visits the ENUMERATED data.
 void visit(INTEGER data)
          Visits the INTEGER data.
 void visit(NULL data)
          Visits the NULL data.
 void visit(OBJECT_IDENTIFIER data)
          Visits the OBJECT_IDENTIFIER data.
 void visit(OCTET_STRING data)
          Visits the OCTET_STRING data.
 void visit(REAL data)
          Visits the REAL data.
 void visit(SEQUENCE_OF<? extends ASN1Type> data)
          Visits the SEQUENCE_OF data.
 void visit(SEQUENCE data)
          Visits the SEQUENCE data.
 void visit(SET_OF<? extends ASN1Type> data)
          Visits the SET_OF data.
 void visit(SET data)
          Visits the SET data.
 void visit(StringType data)
          Visits the StringType data.
 void visit(TimeType data)
          Visits the TimeType data.
 void visit(UnknownType data)
          Visits the UnknownType data.
 

Method Detail

visit

void visit(BOOLEAN data)
           throws E extends java.lang.Throwable
Visits the BOOLEAN data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(INTEGER data)
           throws E extends java.lang.Throwable
Visits the INTEGER data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(BIT_STRING data)
           throws E extends java.lang.Throwable
Visits the BIT_STRING data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(OCTET_STRING data)
           throws E extends java.lang.Throwable
Visits the OCTET_STRING data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(NULL data)
           throws E extends java.lang.Throwable
Visits the NULL data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(OBJECT_IDENTIFIER data)
           throws E extends java.lang.Throwable
Visits the OBJECT_IDENTIFIER data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(REAL data)
           throws E extends java.lang.Throwable
Visits the REAL data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(ENUMERATED data)
           throws E extends java.lang.Throwable
Visits the ENUMERATED data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(ANY data)
           throws E extends java.lang.Throwable
Visits the ANY data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(CHOICE data)
           throws E extends java.lang.Throwable
Visits the CHOICE data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(SEQUENCE_OF<? extends ASN1Type> data)
           throws E extends java.lang.Throwable
Visits the SEQUENCE_OF data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(SEQUENCE data)
           throws E extends java.lang.Throwable
Visits the SEQUENCE data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(SET_OF<? extends ASN1Type> data)
           throws E extends java.lang.Throwable
Visits the SET_OF data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(SET data)
           throws E extends java.lang.Throwable
Visits the SET data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(StringType data)
           throws E extends java.lang.Throwable
Visits the StringType data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(TimeType data)
           throws E extends java.lang.Throwable
Visits the TimeType data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

void visit(UnknownType data)
           throws E extends java.lang.Throwable
Visits the UnknownType data.

Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable