XCMS Toolkit

schemajic.schema
Class BooleanType

java.lang.Object
  extended by schemajic.schema.Type
      extended by schemajic.schema.BooleanType

public class BooleanType
extends Type

Schema for ASN.1 BOOLEAN type.

Universal class tag assignment is UNIVERSAL 1.

XML ASN.1 type name is BOOLEAN and XML ASN.1 BOOLEAN values are <true> and <false>.

For more information on this ASN.1 type see Java class ASN1Boolean

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

Field Summary
 
Fields inherited from class schemajic.schema.Type
_tags
 
Constructor Summary
BooleanType(Module module, java.lang.String name, java.lang.String type, java.lang.String tags)
          Constructor for BooleanType with ASN.1 module, defined type, builtin or reference type, and tags parameters.
BooleanType(java.lang.String name)
          Constructor for BooleanType with initialization string parameter.
 
Method Summary
 void accept(TypeVisitor v)
          Calls the visit method of the TypeVisitor, passing itself as an argument.
 
Methods inherited from class schemajic.schema.Type
createInstance, getJavaName, getModule, getName, getPackageName, getTags, getType, getTypeName, getXMLName, isChoice, isNull, isOpenType, isRoot, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanType

public BooleanType(Module module,
                   java.lang.String name,
                   java.lang.String type,
                   java.lang.String tags)
Constructor for BooleanType with ASN.1 module, defined type, builtin or reference type, and tags parameters.

Parameters:
module - the ASN.1 module where a user defined type name is specified
name - the name of a user defined type
type - a builtin or referenced type defined in the ASN.1 standards
tags - the tag class, tag number, and encoding type assigned in the ASN.1 standards to the type

BooleanType

public BooleanType(java.lang.String name)
Constructor for BooleanType with initialization string parameter.

Parameters:
name - initialization value
Method Detail

accept

public void accept(TypeVisitor v)
Calls the visit method of the TypeVisitor, passing itself as an argument.

Specified by:
accept in class Type
Parameters:
v - instance of the type visitor

XCMS Toolkit


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