|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.model.ASN1Value
schemajic.model.ASN1Sequence
public abstract class ASN1Sequence
Models the abstract concept of a value of an ASN.1
SEQUENCE type.
Type SEQUENCE is a complex builtin type that consists of an
ordered series of components.
Universal class tag assignment is UNIVERSAL 16, the
same tag value used for ASN.1 type SEQUENCE OF.
XML ASN.1 type name is SEQUENCE.
| Field Summary | |
|---|---|
protected ASN1Value[] |
_fields
|
| Constructor Summary | |
|---|---|
ASN1Sequence()
Constructor for ASN1Sequence sets current
ASN.1 value fields to null. |
|
ASN1Sequence(boolean[] present)
Constructor for ASN1Sequence sets the
current ASN.1 OPTIONAL component existence
indicator to the provided boolean value. |
|
ASN1Sequence(int fieldCount)
Constructor for ASN1Sequence sets current
ASN.1 value fields to the provided integer number of
fields value. |
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(ValueVisitor visitor,
java.lang.Object object)
Accepts a visit from the ValueVisitor |
Type |
getAsn1Type()
Returns an ASN.1 SEQUENCE type. |
ASN1Value |
getDefaultValue(int i)
|
ASN1Value[] |
getFields()
Returns a copy of the internal field array. |
void |
setAbsent(int index)
TODO: Need description here |
void |
setFields(ASN1Value[] f)
Copies the elements in f to the internal field array. |
void |
setPresent(int index)
TODO: Need description here |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ASN1Value[] _fields
| Constructor Detail |
|---|
public ASN1Sequence()
ASN1Sequence sets current
ASN.1 value fields to null.
public ASN1Sequence(int fieldCount)
ASN1Sequence sets current
ASN.1 value fields to the provided integer number of
fields value.
fieldCount - ASN.1 value field countpublic ASN1Sequence(boolean[] present)
ASN1Sequence sets the
current ASN.1 OPTIONAL component existence
indicator to the provided boolean value.
present - ASN.1 OPTIONAL component existence indicator| Method Detail |
|---|
public void setAbsent(int index)
index - public void setPresent(int index)
index - public ASN1Value[] getFields()
public void setFields(ASN1Value[] f)
public ASN1Value getDefaultValue(int i)
public java.lang.Object accept(ValueVisitor visitor,
java.lang.Object object)
throws VisitorException
visit from the ValueVisitor
accept in class ASN1Valuevisitor - 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()
SEQUENCE type.
getAsn1Type in class ASN1Value
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||