public class TelephoneNumberWebConverter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AREA_CODE |
static String |
COUNTRY_CODE |
static String |
EXTENSION |
static String |
NUMBER |
static String |
PHONE_TYPE |
Constructor and Description |
---|
TelephoneNumberWebConverter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convert(TelephoneNumberType phoneNumber)
This method creates a Map
|
public static final String AREA_CODE
public static final String COUNTRY_CODE
public static final String EXTENSION
public static final String NUMBER
public static final String PHONE_TYPE
public Map<String,Object> convert(TelephoneNumberType phoneNumber)
COUNTRY_CODE = "countryCode"; PHONE_TYPE = "phoneType"; AREA_CODE = "areaCode"; NUMBER = "number"; EXTENSION = "extension";
phoneNumber
- the TelephoneNumberType to be converted into a map, null returns empty MapThis work is licensed under a Creative Commons Attribution 4.0 International License.