|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1PerBitFieldList
public class Asn1PerBitFieldList
This class is used to map all of the bit fields in a PER message. After encoding or decoding is complete, this object can be used to provide a formatted printout of all of the message fields.
Constructor Summary | |
---|---|
Asn1PerBitFieldList()
|
Method Summary | |
---|---|
void |
addElemName(java.lang.String name,
int arrayx)
This method adds an element name to the current fully qualified name. |
Asn1PerBitField |
getCurrBitField()
This method returns a reference to the current bit field object (i.e. the one that was last created). |
java.util.Iterator |
iterator()
This method returns an iterator to the encapsulated bit field linked list object. |
Asn1PerBitField |
newBitField(java.lang.String nameSuffix,
int bitOffset,
int bitCount)
This method creates a new bit field object with the given properties and appends it to the bit field list. |
void |
removeLastElemName()
This method removes the last element name in the current fully qualified name string. |
void |
reset()
This method resets the object. |
void |
setBitOffset(int bitOffset)
This method is used to change the bit offset in the current bit field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1PerBitFieldList()
Method Detail |
---|
public void addElemName(java.lang.String name, int arrayx)
name
- Name component to append to stringarrayx
- Array index if named item is an element in an
array (set to -1 otherwise)public Asn1PerBitField getCurrBitField()
public java.util.Iterator iterator()
public Asn1PerBitField newBitField(java.lang.String nameSuffix, int bitOffset, int bitCount)
nameSuffix
- Suffix to add to fully qualified name for
this field (for example, 'length')bitOffset
- Offset to the start of this field in bits
from the beginning of the encode buffer.bitCount
- Number of bits in the field.public void removeLastElemName()
public void reset()
public void setBitOffset(int bitOffset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |