public final class Telephone extends Property
Property.Id
Modifier and Type | Field and Description |
---|---|
static PropertyFactory<Telephone> |
FACTORY |
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Telephone(Group group,
List<Parameter> params,
String value)
Factory constructor.
|
Telephone(Group group,
URI uri,
Type... types) |
Telephone(List<Parameter> params,
String value)
Factory constructor.
|
Telephone(String value,
Type... types)
Provide backwards-compatibility for vCard 3.0.
|
Telephone(URI uri,
Type... types) |
Modifier and Type | Method and Description |
---|---|
URI |
getUri() |
String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final PropertyFactory<Telephone> FACTORY
public Telephone(URI uri, Type... types)
uri
- specifies the URI of a telephone definitiontypes
- optional parameter typespublic Telephone(Group group, URI uri, Type... types)
group
- a property groupuri
- specifies the URI of a telephone definitiontypes
- optional parameter typespublic Telephone(String value, Type... types)
value
- a non-URI valuetypes
- optional parameter typespublic Telephone(List<Parameter> params, String value) throws URISyntaxException
params
- property parametersvalue
- string representation of a property valueURISyntaxException
- where the specified value is not a valid URIpublic Telephone(Group group, List<Parameter> params, String value) throws URISyntaxException
group
- a property groupparams
- property parametersvalue
- string representation of a property valueURISyntaxException
- where the specified value is not a valid URICopyright © 2008-2012 Micronode. All Rights Reserved.