|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.model.ASN1Value
public abstract class ASN1Value
Models the abstract concept of a value of an ASN.1 type,
and provides the base Visitor design pattern class abstract
visit method for the ValueVisitor.
| Constructor Summary | |
|---|---|
ASN1Value()
Constructor for ASN1Value. |
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
accept(ValueVisitor visitor,
java.lang.Object object)
Since Java is strongly typed, this base Visitor class needs an abstract visit method for each
kind of class. |
Type |
getAsn1Type()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASN1Value()
ASN1Value.
| Method Detail |
|---|
public abstract java.lang.Object accept(ValueVisitor visitor,
java.lang.Object object)
throws VisitorException
visit method for each
kind of class. Since all of the toolkit classes that
need this method extend ASN1Value, and
all of the ASN.1 encoders implement the ValueVisitor
interface, only this abstract method is needed.
visitor - the function applicator (mapper), which knows how to
process the given object type and apply appropriate operations to
the elements of this type of objectobject - an object to be visited
VisitorExceptionpublic Type getAsn1Type()
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||