|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objsys.asn1j.runtime.Asn1CharSet
com.objsys.asn1j.runtime.Asn1DiscreteCharSet
This class is used to represent a discrete set of characters from a permitted alphabet.
| Field Summary |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1CharSet |
mABitsPerChar, mUBitsPerChar |
| Constructor Summary | |
Asn1DiscreteCharSet(int[] charSet)
This constructor sets the permitted alphabet chracter set |
|
Asn1DiscreteCharSet(java.lang.String charSet)
This constructor sets the permitted alphabet chracter set |
|
| Method Summary | |
int |
getCharAtIndex(int index)
This method will fetch the character from the permitted alphabet at the given index. |
int |
getCharIndex(int charValue)
This method will determine the index of the given character within the permitted alphabet character set. |
int |
getMaxValue()
This method will determine the maximum value of the given character within the permitted alphabet character set. |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1CharSet |
getNumBitsPerChar |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Asn1DiscreteCharSet(java.lang.String charSet)
charSet - Permitted alphabet character setpublic Asn1DiscreteCharSet(int[] charSet)
charSet - Permitted alphabet character set| Method Detail |
public int getCharAtIndex(int index)
throws Asn1ConsVioException
getCharAtIndex in class Asn1CharSetindex - Index of character within the character set
Asn1ConsVioException - Index not within define range
public int getCharIndex(int charValue)
throws Asn1ConsVioException
getCharIndex in class Asn1CharSetcharValue - Character value to search for
Asn1ConsVioException - Character not found in setpublic int getMaxValue()
getMaxValue in class Asn1CharSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||