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

All Known Implementing Classes:
ASN1StringBuilder, ASN1VisitorAdaptor, BerDecoder, BerEncoder, DerEncoder, XerDecoder, XerEncoder

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

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

Author:
WATANABE, Jun.

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

Method Detail

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

R visit(RELATIVE_OID data)
        throws E extends java.lang.Throwable
Visits the RELATIVE_OID data.

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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

visit

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

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