Lines Matching refs:address
56 * The postfix strings of address.
455 private EncodedStringValue appendAddressType(EncodedStringValue address) {
459 int addressType = checkAddressType(address.getString());
460 temp = EncodedStringValue.copy(address);
465 // Ipv4 address.
468 // Ipv6 address.
528 // Value-length (Address-present-token Encoded-string-value | Insert-address-token)
538 // Insert-address-token = <Octet 129>
1136 * Check address type.
1138 * @param address address string without the postfix stinng type,
1141 * PDU_EMAIL_ADDRESS_TYPE if it is email address,
1142 * PDU_IPV4_ADDRESS_TYPE if it is ipv4 address,
1143 * PDU_IPV6_ADDRESS_TYPE if it is ipv6 address,
1146 protected static int checkAddressType(String address) {
1149 * address = ( e-mail / device-address / alphanum-shortcode / num-shortcode)
1153 * device-address = ( global-phone-number "/TYPE=PLMN" )
1155 * / ( escaped-value "/TYPE=" address-type )
1160 * ipv4 = 1*3DIGIT 3( "." 1*3DIGIT ) ; IPv4 address value
1162 * ipv6 = 4HEXDIG 7( ":" 4HEXDIG ) ; IPv6 address per RFC 2373
1165 if (null == address) {
1169 if (address.matches(REGEXP_IPV4_ADDRESS_TYPE)) {
1170 // Ipv4 address.
1172 }else if (address.matches(REGEXP_PHONE_NUMBER_ADDRESS_TYPE)) {
1175 } else if (address.matches(REGEXP_EMAIL_ADDRESS_TYPE)) {
1176 // Email address.
1178 } else if (address.matches(REGEXP_IPV6_ADDRESS_TYPE)) {
1179 // Ipv6 address.
1182 // Unknown address.