org.mobicents.protocols.ss7.map.primitives
public class AddressStringImpl extends TbcdString implements AddressString
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
address |
protected AddressNature |
addressNature |
protected int |
NATURE_OF_ADD_IND_MASK |
protected int |
NO_EXTENSION_MASK |
protected int |
NUMBERING_PLAN_IND_MASK |
protected NumberingPlan |
numberingPlan |
DIGIT_1_MASK, DIGIT_2_MASK| Constructor and Description |
|---|
AddressStringImpl() |
AddressStringImpl(AddressNature addressNature,
NumberingPlan numberingPlan,
java.lang.String address) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_testLengthDecode(int length) |
protected void |
_testLengthEncode() |
void |
decodeAll(org.mobicents.protocols.asn.AsnInputStream ansIS)
Decoding the length and the content of the primitive (the tag has already
read)
|
void |
decodeData(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length)
Decoding the content of the primitive (the tag and the length have
already read)
|
void |
encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs)
Encoding the tag, the length and the content.
|
void |
encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs,
int tagClass,
int tag)
Encoding the tag, the length and the content.
|
void |
encodeData(org.mobicents.protocols.asn.AsnOutputStream asnOs)
Encoding the content.
|
java.lang.String |
getAddress() |
AddressNature |
getAddressNature() |
boolean |
getIsPrimitive() |
NumberingPlan |
getNumberingPlan() |
int |
getTag() |
int |
getTagClass() |
boolean |
isExtension() |
java.lang.String |
toString() |
decodeNumber, decodeString, encodeNumber, encodeStringprotected int NO_EXTENSION_MASK
protected int NATURE_OF_ADD_IND_MASK
protected int NUMBERING_PLAN_IND_MASK
protected AddressNature addressNature
protected NumberingPlan numberingPlan
protected java.lang.String address
public AddressStringImpl()
public AddressStringImpl(AddressNature addressNature, NumberingPlan numberingPlan, java.lang.String address)
public java.lang.String getAddress()
getAddress in interface AddressStringpublic AddressNature getAddressNature()
getAddressNature in interface AddressStringpublic NumberingPlan getNumberingPlan()
getNumberingPlan in interface AddressStringpublic boolean isExtension()
public int getTag()
throws MAPException
getTag in interface MAPAsnPrimitiveMAPExceptionpublic int getTagClass()
getTagClass in interface MAPAsnPrimitivepublic boolean getIsPrimitive()
getIsPrimitive in interface MAPAsnPrimitivepublic void decodeAll(org.mobicents.protocols.asn.AsnInputStream ansIS)
throws MAPParsingComponentException
MAPAsnPrimitivedecodeAll in interface MAPAsnPrimitiveansIS - The AsnInputStream that contains the length and the content of
the primitiveMAPParsingComponentExceptionpublic void decodeData(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length)
throws MAPParsingComponentException
MAPAsnPrimitivedecodeData in interface MAPAsnPrimitiveansIS - The AsnInputStream that contains the content of the primitivelength - The length of the contentMAPParsingComponentExceptionprotected void _testLengthDecode(int length)
throws MAPParsingComponentException
MAPParsingComponentExceptionpublic void encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs)
throws MAPException
MAPAsnPrimitiveencodeAll in interface MAPAsnPrimitiveMAPExceptionpublic void encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs,
int tagClass,
int tag)
throws MAPException
MAPAsnPrimitiveencodeAll in interface MAPAsnPrimitiveMAPExceptionprotected void _testLengthEncode()
throws MAPException
MAPExceptionpublic void encodeData(org.mobicents.protocols.asn.AsnOutputStream asnOs)
throws MAPException
MAPAsnPrimitiveencodeData in interface MAPAsnPrimitiveMAPExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012. All Rights Reserved.