|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.panter.li.bi.asn.ber.AsnBerTagLengthImpl
public final class AsnBerTagLengthImpl
| Constructor Summary | |
|---|---|
AsnBerTagLengthImpl()
|
|
AsnBerTagLengthImpl(boolean definite,
int tagLength)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object compare)
|
Number |
getTagLength()
The tag length of this instance as an abstract number (Integer, Long, BigInteger). |
int |
getTagLengthAsInt()
The tag length of this instance as a java int. |
Number |
getTagLengthLarge()
The tag length bits of this instance as an abstract number (Long, BigInteger). |
int |
hashCode()
|
boolean |
isDefinite()
|
boolean |
isIndefinite()
|
boolean |
isTagLengthAnInt()
Determines whether the tag length of this instance can be represented in a java int. |
void |
setDefinite(boolean definite)
|
void |
setIndefinite(boolean indefinite)
|
void |
setTagLengthAsInt(int tagLength)
Sets the new tag number to the given value and resets any previously set bits. |
void |
setTagLengthLarge(BigInteger tagLengthLarge)
Sets the new tag number to the given abstract number. |
void |
setTagLengthLarge(Long tagLengthLarge)
Sets the new tag number to the given abstract number. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AsnBerTagLengthImpl()
public AsnBerTagLengthImpl(boolean definite,
int tagLength)
| Method Detail |
|---|
public final boolean isDefinite()
isDefinite in interface AsnBerTagLengthpublic final void setDefinite(boolean definite)
public final boolean isIndefinite()
isIndefinite in interface AsnBerTagLengthpublic final void setIndefinite(boolean indefinite)
public final Number getTagLength()
AsnBerTagLength
getTagLength in interface AsnBerTagLengthpublic final boolean isTagLengthAnInt()
AsnBerTagLength
isTagLengthAnInt in interface AsnBerTagLengthpublic final int getTagLengthAsInt()
AsnBerTagLength
getTagLengthAsInt in interface AsnBerTagLengthpublic final void setTagLengthAsInt(int tagLength)
tagLength - the new tag number to set
IllegalArgumentException - in case the given number is below zeropublic final Number getTagLengthLarge()
AsnBerTagLength
getTagLengthLarge in interface AsnBerTagLengthpublic final void setTagLengthLarge(Long tagLengthLarge)
tagLengthLarge - the new tag number to set
IllegalArgumentException - in case the given number is null or below zeropublic final void setTagLengthLarge(BigInteger tagLengthLarge)
tagLengthLarge - the new tag number to set
IllegalArgumentException - in case the given number is null or below zeropublic final boolean equals(Object compare)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||