public class AddressStringImpl extends Object implements AddressString, MAPAsnPrimitive
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected static javolution.xml.XMLFormat<AddressStringImpl> |
ADDRESS_STRING_XML
XML Serialization/Deserialization
|
protected AddressNature |
addressNature |
protected int |
NATURE_OF_ADD_IND_MASK |
protected int |
NO_EXTENSION_MASK |
protected int |
NUMBERING_PLAN_IND_MASK |
protected NumberingPlan |
numberingPlan |
| Constructor and Description |
|---|
AddressStringImpl() |
AddressStringImpl(AddressNature addressNature,
NumberingPlan numberingPlan,
String address) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_decode(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length) |
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.
|
boolean |
equals(Object obj) |
String |
getAddress() |
AddressNature |
getAddressNature() |
boolean |
getIsPrimitive() |
NumberingPlan |
getNumberingPlan() |
int |
getTag() |
int |
getTagClass() |
int |
hashCode() |
boolean |
isExtension() |
String |
toString() |
protected int NO_EXTENSION_MASK
protected int NATURE_OF_ADD_IND_MASK
protected int NUMBERING_PLAN_IND_MASK
protected AddressNature addressNature
protected NumberingPlan numberingPlan
protected String address
protected static final javolution.xml.XMLFormat<AddressStringImpl> ADDRESS_STRING_XML
public AddressStringImpl()
public AddressStringImpl(AddressNature addressNature, NumberingPlan numberingPlan, String address)
public 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
MAPParsingComponentExceptionprotected void _decode(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length)
throws MAPParsingComponentException,
IOException
public 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 MAPAsnPrimitiveMAPExceptionCopyright © 2016. All Rights Reserved.