XCMS Toolkit

schemajic.schema
Class SequenceOfType

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

public class SequenceOfType
extends Type

Schema for ASN.1 SEQUENCE OF type.

Universal class tag assignment is UNIVERSAL 16(the same tag value for ASN.1 type SEQUENCE).

XML ASN.1 type name is SEQUENCE_OF.

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

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

Field Summary
 TypeReference _elementType
          Initialized current element type.
 
Fields inherited from class schemajic.schema.Type
_tags
 
Constructor Summary
SequenceOfType(Module module, java.lang.String name, java.lang.String type, java.lang.String elementType, java.lang.String tags)
          Constructor for SequenceOfType with ASN.1 module, defined type, builtin or referenced type and tag class parameters.
SequenceOfType(java.lang.String name)
          ???
 
Method Summary
 void accept(TypeVisitor v)
          Calls the visit method of the TypeVisitor, passing itself as an argument.
 java.lang.Object createElementInstance()
          Creates an instance of a SEQUENCE OF element.
 Type getElementType()
          Returns the current SEQUENCE OF element type.
 java.lang.String toString()
          Returns the formatted SEQUENCE OF element.
 
Methods inherited from class schemajic.schema.Type
createInstance, getJavaName, getModule, getName, getPackageName, getTags, getType, getTypeName, getXMLName, isChoice, isNull, isOpenType, isRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_elementType

public TypeReference _elementType
Initialized current element type.

Constructor Detail

SequenceOfType

public SequenceOfType(Module module,
                      java.lang.String name,
                      java.lang.String type,
                      java.lang.String elementType,
                      java.lang.String tags)
Constructor for SequenceOfType with ASN.1 module, defined type, builtin or referenced type and tag class 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

SequenceOfType

public SequenceOfType(java.lang.String name)
???

Parameters:
name -
Method Detail

toString

public java.lang.String toString()
Returns the formatted SEQUENCE OF element.

Overrides:
toString in class Type
Returns:
the formatted ASN.1 type definition statement

getElementType

public Type getElementType()
Returns the current SEQUENCE OF element type.


createElementInstance

public java.lang.Object createElementInstance()
                                       throws java.lang.ClassNotFoundException,
                                              java.lang.IllegalAccessException,
                                              java.lang.InstantiationException
Creates an instance of a SEQUENCE OF element.

Returns:
a new element instance
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException

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.