XCMS Toolkit

schemajic.model
Class ASN1Null

java.lang.Object
  extended by schemajic.model.ASN1Value
      extended by schemajic.model.ASN1Null
Direct Known Subclasses:
NullParms

public class ASN1Null
extends ASN1Value

Models the abstract concept of the value of ASN.1 type NULL.

Type NULL is a simple builtin type whose single distinguished value is also called NULL. This value is often used to indicate that there is no value, which frequently leads to confusion, since under some encoding rules, the NULL value will be present in an instance of communication, perhaps as the tag 0x05 and the length 0x00 in TLV (Tag-Length-Value) encodings.

Universal class tag assignment is UNIVERSAL 5.

XML ASN.1 type name is NULL.

Version:
1.00 - 2006/02/09
Author:
support@phillipgriffin.com

Field Summary
static ASN1Null NULL
           
 
Constructor Summary
ASN1Null()
          Constructor for ASN1Null.
 
Method Summary
 java.lang.Object accept(ValueVisitor visitor, java.lang.Object object)
          Accepts a visit from the ValueVisitor
 Type getAsn1Type()
          Returns an ASN.1 NULL type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final ASN1Null NULL
Constructor Detail

ASN1Null

public ASN1Null()
Constructor for ASN1Null.

Method Detail

accept

public java.lang.Object accept(ValueVisitor visitor,
                               java.lang.Object object)
                        throws VisitorException
Accepts a visit from the ValueVisitor

Specified by:
accept in class ASN1Value
Parameters:
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 object
object - an object to be visited
Returns:
a visit to the provided object
Throws:
VisitorException

getAsn1Type

public Type getAsn1Type()
Returns an ASN.1 NULL type.

Overrides:
getAsn1Type in class ASN1Value

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.