|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.schema.Type
schemajic.schema.SequenceType
public class SequenceType
Schema for ASN.1 SEQUENCE type.
Universal class tag assignment is UNIVERSAL 16 (the
same tag value for ASN.1 type SEQUENCE OF).
XML ASN.1 type name is SEQUENCE.
For more information on this ASN.1 type see Java class ASN1Sequence
| Field Summary |
|---|
| Fields inherited from class schemajic.schema.Type |
|---|
_tags |
| Constructor Summary | |
|---|---|
SequenceType(Module module,
java.lang.String name,
java.lang.String type,
java.lang.String tags)
Constructor for SequenceType with ASN.1 module, defined type, builtin
or reference type, and tags parameters. |
|
SequenceType(java.lang.String name)
Constructor for SequenceStringType with
string name parameter. |
|
| Method Summary | |
|---|---|
void |
accept(TypeVisitor v)
Calls the visit method of the
TypeVisitor, passing itself as
an argument. |
void |
addField(Field f)
Adds the provided field to the list of current fields. |
Field |
getField(int index)
Gets some field of interest. |
java.util.Iterator |
getFields()
Gets fields. |
java.lang.String |
toString()
Performs string formatting. |
| 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 |
| Constructor Detail |
|---|
public SequenceType(Module module,
java.lang.String name,
java.lang.String type,
java.lang.String tags)
SequenceType with ASN.1 module, defined type, builtin
or reference type, and tags parameters.
module - the ASN.1 module where a user defined type name is specifiedname - the name of a user defined typetype - a builtin or referenced type defined in the ASN.1 standardstags - the tag class, tag number, and encoding type assigned in the ASN.1 standards to the typepublic SequenceType(java.lang.String name)
SequenceStringType with
string name parameter.
name - identifier of a value of type SEQUENCE| Method Detail |
|---|
public void addField(Field f)
f - field to be added to the listpublic java.util.Iterator getFields()
public Field getField(int index)
index - field of interest indicator
public java.lang.String toString()
toString in class Typepublic void accept(TypeVisitor v)
visit method of the
TypeVisitor, passing itself as
an argument.
accept in class Typev - instance of the type visitor
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||