jp.bitmeister.asn1.processor
Class ASN1VisitorAdaptor<E extends java.lang.Throwable>

java.lang.Object
  extended by jp.bitmeister.asn1.processor.ASN1VisitorAdaptor<E>
All Implemented Interfaces:
ASN1Visitor<E>

public class ASN1VisitorAdaptor<E extends java.lang.Throwable>
extends java.lang.Object
implements ASN1Visitor<E>

Adapter class for ASN1Visitor interface.

An adapter to simplify implementation of visitor class that do not need all visit methods on ASN1Visitor interface. All methods defined in this class do nothing.

Author:
WATANABE, Jun.
See Also:
ASN1Visitor

Constructor Summary
ASN1VisitorAdaptor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1VisitorAdaptor

public ASN1VisitorAdaptor()
Method Detail

visit

public void visit(BOOLEAN data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the BOOLEAN data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(INTEGER data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the INTEGER data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(BIT_STRING data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the BIT_STRING data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(OCTET_STRING data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the OCTET_STRING data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(NULL data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the NULL data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(OBJECT_IDENTIFIER data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the OBJECT_IDENTIFIER data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(REAL data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the REAL data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(ENUMERATED data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the ENUMERATED data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(ANY data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the ANY data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(CHOICE data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the CHOICE data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(SEQUENCE_OF<? extends ASN1Type> data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the SEQUENCE_OF data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(SEQUENCE data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the SEQUENCE data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(SET_OF<? extends ASN1Type> data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the SET_OF data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(SET data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the SET data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(StringType data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the StringType data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(TimeType data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the TimeType data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable

visit

public void visit(UnknownType data)
           throws E extends java.lang.Throwable
Description copied from interface: ASN1Visitor
Visits the UnknownType data.

Specified by:
visit in interface ASN1Visitor<E extends java.lang.Throwable>
Parameters:
data - The data to be visited.
Throws:
E - When an error occured in the accept method.
E extends java.lang.Throwable