Modifier and Type | Field and Description |
---|---|
static VCardDataType |
VCardDataType.BINARY
Supported versions:
3.0 |
static VCardDataType |
VCardDataType.BOOLEAN
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.CONTENT_ID
Supported versions:
2.1 (p.8-9) |
static VCardDataType |
VCardDataType.DATE
Supported versions:
3.0, 4.0 |
static VCardDataType |
VCardDataType.DATE_AND_OR_TIME
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.DATE_TIME
Supported versions:
3.0, 4.0 |
static VCardDataType |
VCardDataType.FLOAT
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.INTEGER
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.LANGUAGE_TAG
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.TEXT
Supported versions:
2.1, 3.0, 4.0 |
static VCardDataType |
VCardDataType.TIME
Supported versions:
3.0, 4.0 |
static VCardDataType |
VCardDataType.TIMESTAMP
Supported versions:
4.0 |
static VCardDataType |
VCardDataType.URI
Supported versions:
3.0, 4.0 |
static VCardDataType |
VCardDataType.URL
Supported versions:
2.1 (p.18-9) |
static VCardDataType |
VCardDataType.UTC_OFFSET
Supported versions:
4.0 |
Modifier and Type | Method and Description |
---|---|
static VCardDataType |
VCardDataType.find(String dataType)
Searches for a data type that is defined as a static constant in this
class.
|
static VCardDataType |
VCardDataType.get(String dataType)
Searches for a data type and creates one if it cannot be found.
|
Modifier and Type | Method and Description |
---|---|
static Collection<VCardDataType> |
VCardDataType.all()
Gets all of the data types that are defined as static constants in this
class.
|
Modifier and Type | Field and Description |
---|---|
protected VCardDataType |
SimplePropertyScribe.dataType |
Modifier and Type | Method and Description |
---|---|
protected VCardDataType |
AgentScribe._dataType(Agent property,
VCardVersion version) |
protected VCardDataType |
RawPropertyScribe._dataType(RawProperty property,
VCardVersion version) |
protected VCardDataType |
RelatedScribe._dataType(Related property,
VCardVersion version) |
protected VCardDataType |
TelephoneScribe._dataType(Telephone property,
VCardVersion version) |
protected VCardDataType |
TimezoneScribe._dataType(Timezone property,
VCardVersion version) |
protected VCardDataType |
VCardPropertyScribe._dataType(T property,
VCardVersion version)
Determines the data type of a property instance.
|
protected VCardDataType |
PlacePropertyScribe._dataType(T property,
VCardVersion version) |
protected VCardDataType |
DateOrTimePropertyScribe._dataType(T property,
VCardVersion version) |
protected VCardDataType |
BinaryPropertyScribe._dataType(T property,
VCardVersion version) |
protected abstract VCardDataType |
VCardPropertyScribe._defaultDataType(VCardVersion version)
Determines the property's default data type.
|
protected VCardDataType |
GenderScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RevisionScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
OrganizationScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
SimplePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RelatedScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
RawPropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
PlacePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
TimezoneScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
TelephoneScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
AddressScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ListPropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
AgentScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ClientPidMapScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
StructuredNameScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
ImppScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
GeoScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
XmlScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
DateOrTimePropertyScribe._defaultDataType(VCardVersion version) |
protected VCardDataType |
BinaryPropertyScribe._defaultDataType(VCardVersion version) |
VCardDataType |
VCardPropertyScribe.dataType(T property,
VCardVersion version)
Determines the data type of a property instance.
|
VCardDataType |
VCardPropertyScribe.defaultDataType(VCardVersion version)
Determines the property's default data type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
VCardPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings)
Unmarshals a property from a plain-text vCard.
|
protected Gender |
GenderScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Revision |
RevisionScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Organization |
OrganizationScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected T |
SimplePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Related |
RelatedScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected RawProperty |
RawPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected T |
PlacePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Timezone |
TimezoneScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Telephone |
TelephoneScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Address |
AddressScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected T |
ListPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Agent |
AgentScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected ClientPidMap |
ClientPidMapScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected StructuredName |
StructuredNameScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Impp |
ImppScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Geo |
GeoScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected Xml |
XmlScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected T |
DateOrTimePropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected T |
BinaryPropertyScribe._parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters,
List<String> warnings) |
protected static CannotParseException |
VCardPropertyScribe.missingXmlElements(VCardDataType... dataTypes)
Creates a
CannotParseException to indicate that a scribe could
not find the necessary XML elements required in order to successfully
parse a property (xCards only). |
VCardPropertyScribe.Result<T> |
VCardPropertyScribe.parseText(String value,
VCardDataType dataType,
VCardVersion version,
VCardParameters parameters)
Unmarshals a property from a plain-text vCard.
|
Constructor and Description |
---|
SimplePropertyScribe(Class<T> clazz,
String propertyName,
VCardDataType dataType) |
StringPropertyScribe(Class<T> clazz,
String propertyName,
VCardDataType dataType) |
Modifier and Type | Method and Description |
---|---|
List<String> |
XCardElement.all(VCardDataType dataType)
Gets all the values of a given data type.
|
Element |
XCardElement.append(VCardDataType dataType,
String value)
Adds a value.
|
String |
XCardElement.first(VCardDataType... dataTypes)
Gets the first value with one of the given data types.
|
void |
XCardWriter.registerParameterDataType(String parameterName,
VCardDataType dataType)
Registers the data type of an experimental parameter.
|
void |
XCardDocument.XCardDocumentStreamWriter.registerParameterDataType(String parameterName,
VCardDataType dataType)
Registers the data type of an experimental parameter.
|
Modifier and Type | Method and Description |
---|---|
VCardDataType |
VCardParameters.getValue()
Gets the VALUE parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
VCardParameters.setValue(VCardDataType value)
Sets the VALUE parameter.
|
Modifier and Type | Method and Description |
---|---|
VCardDataType |
RawProperty.getDataType()
Gets the data type of the property's value.
|
Modifier and Type | Method and Description |
---|---|
void |
RawProperty.setDataType(VCardDataType dataType)
Sets the data type of the property's value.
|
Constructor and Description |
---|
RawProperty(String propertyName,
String value,
VCardDataType dataType)
Creates a raw property.
|
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.