Modifier and Type | Method and Description |
---|---|
<T extends VCardProperty & HasAltId> |
VCard.addPropertyAlt(java.lang.Class<T> propertyClass,
java.util.Collection<T> altRepresentations)
Adds a property in the form of a collection of alternative
representations.
|
<T extends VCardProperty & HasAltId> |
VCard.addPropertyAlt(java.lang.Class<T> propertyClass,
T... altRepresentations)
Adds a property in the form of a collection of alternative
representations.
|
<T extends VCardProperty> |
VCard.getProperties(java.lang.Class<T> clazz)
Gets all properties of a given class.
|
<T extends VCardProperty & HasAltId> |
VCard.getPropertiesAlt(java.lang.Class<T> clazz)
Gets all properties of a given class, grouping the alternative
representations of each property together (see:
description of ALTID ) |
<T extends VCardProperty> |
VCard.getProperty(java.lang.Class<T> clazz)
Gets the first property of a given class.
|
<T extends VCardProperty> |
VCard.setProperty(java.lang.Class<T> clazz,
T property)
Replaces all existing properties of the given class with a single
property instance.
|
<T extends VCardProperty & HasAltId> |
VCard.setPropertyAlt(java.lang.Class<T> propertyClass,
java.util.Collection<T> altRepresentations)
Sets a property in the form of a collection of alternative
representations.
|
<T extends VCardProperty & HasAltId> |
VCard.setPropertyAlt(java.lang.Class<T> propertyClass,
T... altRepresentations)
Sets a property in the form of a collection of alternative
representations.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<VCardProperty> |
VCard.getProperties()
Gets all the properties in this vCard.
|
ListMultimap<VCardProperty,Warning> |
ValidationWarnings.getWarnings()
Gets all of the validation warnings.
|
java.util.Iterator<java.util.Map.Entry<VCardProperty,java.util.List<Warning>>> |
ValidationWarnings.iterator() |
java.util.Iterator<VCardProperty> |
VCard.iterator()
Iterates through each of the vCard's properties in no particular order.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationWarnings.add(VCardProperty property,
java.util.List<Warning> warnings)
Adds a property's validation warnings.
|
void |
ValidationWarnings.add(VCardProperty property,
Warning warning)
Adds a validation warning.
|
void |
VCard.addProperty(VCardProperty property)
Adds a property.
|
<T extends VCardProperty & HasAltId> |
VCard.addPropertyAlt(java.lang.Class<T> propertyClass,
T... altRepresentations)
Adds a property in the form of a collection of alternative
representations.
|
void |
VCard.removeProperty(VCardProperty property)
Removes a property instance from the vCard.
|
<T extends VCardProperty & HasAltId> |
VCard.setPropertyAlt(java.lang.Class<T> propertyClass,
T... altRepresentations)
Sets a property in the form of a collection of alternative
representations.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Warning> |
ValidationWarnings.getByProperty(java.lang.Class<? extends VCardProperty> propertyClass)
Gets all validation warnings that belong to a property of a specific
class.
|
Ezvcard.ParserChainTextReader |
Ezvcard.ParserChainTextReader.register(VCardPropertyScribe<? extends VCardProperty> scribe) |
Ezvcard.ParserChainTextString |
Ezvcard.ParserChainTextString.register(VCardPropertyScribe<? extends VCardProperty> scribe) |
Ezvcard.ParserChainXmlReader |
Ezvcard.ParserChainXmlReader.register(VCardPropertyScribe<? extends VCardProperty> scribe) |
Ezvcard.ParserChainXmlString |
Ezvcard.ParserChainXmlString.register(VCardPropertyScribe<? extends VCardProperty> scribe) |
Ezvcard.ParserChainXmlDom |
Ezvcard.ParserChainXmlDom.register(VCardPropertyScribe<? extends VCardProperty> scribe) |
Ezvcard.WriterChainText |
Ezvcard.WriterChainText.register(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
Ezvcard.WriterChainXml |
Ezvcard.WriterChainXml.register(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
void |
VCard.removeProperties(java.lang.Class<? extends VCardProperty> clazz)
Removes all properties of a given class.
|
Modifier and Type | Method and Description |
---|---|
VCardProperty |
EmbeddedVCardException.getProperty()
Gets the property object that threw the exception.
|
VCardProperty |
EmbeddedVCardException.InjectionCallback.getProperty()
Gets the property object that threw the
EmbeddedVCardException . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StreamWriter._write(VCard vcard,
java.util.List<VCardProperty> properties)
Writes a vCard to the stream.
|
void |
StreamWriter.registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
void |
StreamReader.registerScribe(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
Modifier and Type | Class and Description |
---|---|
class |
SimplePropertyScribe<T extends VCardProperty>
Marshals properties that have just a single value thats need no parsing or
writing logic and that always has the same data type.
|
class |
VCardPropertyScribe<T extends VCardProperty>
Base class for vCard property scribes (marshallers).
|
static class |
VCardPropertyScribe.Result<T extends VCardProperty>
Represents the result of an unmarshal operation.
|
Modifier and Type | Method and Description |
---|---|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(java.lang.Class<? extends VCardProperty> clazz)
Gets a property scribe by class.
|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(javax.xml.namespace.QName qname)
Gets a property scribe by XML local name and namespace.
|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(java.lang.String propertyName)
Gets a property scribe by name.
|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(VCardProperty property)
Gets the appropriate property scribe for a given property instance.
|
Modifier and Type | Method and Description |
---|---|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(VCardProperty property)
Gets the appropriate property scribe for a given property instance.
|
protected static void |
VCardPropertyScribe.handlePrefParam(VCardProperty property,
VCardParameters copy,
VCardVersion version,
VCard vcard)
A utility method for switching between the "PREF" and "TYPE=PREF"
parameters when marshalling a property (version 4.0 vCards use "PREF=1",
while version 3.0 vCards use "TYPE=PREF").
|
boolean |
ScribeIndex.hasPropertyScribe(VCardProperty property)
Determines if a scribe exists for a given property instance.
|
Modifier and Type | Method and Description |
---|---|
VCardPropertyScribe<? extends VCardProperty> |
ScribeIndex.getPropertyScribe(java.lang.Class<? extends VCardProperty> clazz)
Gets a property scribe by class.
|
void |
ScribeIndex.register(VCardPropertyScribe<? extends VCardProperty> scribe)
Registers a property scribe.
|
void |
ScribeIndex.unregister(VCardPropertyScribe<? extends VCardProperty> scribe)
Unregisters a property scribe.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VCardWriter._write(VCard vcard,
java.util.List<VCardProperty> propertiesToAdd) |
Modifier and Type | Method and Description |
---|---|
protected void |
XCardDocument.XCardDocumentStreamWriter._write(VCard vcard,
java.util.List<VCardProperty> properties) |
protected void |
XCardWriter._write(VCard vcard,
java.util.List<VCardProperty> properties) |
Modifier and Type | Class and Description |
---|---|
class |
Address
Defines a mailing address.
|
class |
Agent
Defines information about the person's agent.
|
class |
Anniversary
Defines the person's anniversary (marital or work-related).
|
class |
BinaryProperty<T extends MediaTypeParameter>
Represents a property whose value contains binary data.
|
class |
Birthday
Defines the person's birthday.
|
class |
Birthplace
Defines the location of the person's birth.
|
class |
CalendarRequestUri
Defines a URL to use for sending a scheduling request to the person's
calendar.
|
class |
CalendarUri
Defines a URL that points to the person's calendar.
|
class |
Categories
Defines a list of keywords that can be used to describe the person.
|
class |
Classification
Defines the sensitivity of the information in the vCard.
|
class |
ClientPidMap
Maps a globally-unique URI to a PID parameter value.
|
class |
DateOrTimeProperty
Represents a property with a date and/or time value.
|
class |
Deathdate
Defines the person's time of death.
|
class |
Deathplace
Defines the location of the person's death.
|
class |
Email
Defines an email address associated with the person.
|
class |
Expertise
Defines a professional subject area that the person has knowledge of.
|
class |
FormattedName
Defines the person's full name in a human-readable format.
|
class |
FreeBusyUrl
Defines a URL that shows when the person is free/busy on their calendar.
|
class |
Gender
Defines the person's sex.
|
class |
Geo
Defines a set of latitude/longitude coordinates.
|
class |
Hobby
Defines a recreational activity that the person actively engages in.
|
class |
ImageProperty
Represents a vCard property that stores image data.
|
class |
Impp
Defines an instant messenger handle.
|
class |
Interest
Defines a recreational activity that the person is interested in.
|
class |
Key
Defines a public encryption key.
|
class |
Kind
Defines the type of entity that this vCard represents, such as an individual
or an organization.
|
class |
Label
Defines the exact text to put on the mailing label when sending snail mail to
the person.
|
class |
Language
Defines a language that the person speaks.
|
class |
ListProperty<T>
Represents a property whose value is a list of textual values.
|
class |
Logo
Defines a company logo.
|
class |
Mailer
Defines the email client that the person uses.
|
class |
Member
Defines the members that make up the group.
|
class |
Nickname
Defines the person's nicknames.
|
class |
Note
Defines a free-form text field that contains miscellaneous information.
|
class |
Organization
Defines a list of organizations the person belongs to.
|
class |
OrgDirectory
Defines a URI that can be used to retrieve information about the person's
co-workers.
|
class |
Photo
Defines a photo, such as the person's portrait.
|
class |
PlaceProperty
Represents the location of a physical place.
|
class |
ProductId
Identifies the software application that created the vCard.
|
class |
Profile
Simply identifies the vCard as a "vCard".
|
class |
RawProperty
Holds the property value as-is.
|
class |
Related
Defines someone that the person is related to.
|
class |
Revision
Defines the date that the vCard was last modified by its owner.
|
class |
Role
Defines the function that the person plays within his or her organization.
|
class |
SimpleProperty<T>
Represents a property whose data model consists of a single Java object.
|
class |
SortString
Defines the string that should be used when an application sorts this vCard
in some way.
|
class |
Sound
Defines a sound, such as the correct pronunciation of the person's name.
|
class |
Source
Defines a URL that can be used to retrieve the most up-to-date version of the
vCard.
|
class |
SourceDisplayText
Defines a textual representation of the
Source property. |
class |
StructuredName
Defines the individual components of the person's name.
|
class |
Telephone
Defines a telephone number.
|
class |
TextListProperty
Represents a property whose value is a list of textual values.
|
class |
TextProperty
Represents a property whose value is just a regular text value.
|
class |
Timezone
Defines the timezone that the person lives/works in.
|
class |
Title
Defines the person's title in his or her organization.
|
class |
Uid
Defines a globally unique identifier for this vCard.
|
class |
UriProperty
Represents a property whose value is a URI.
|
class |
Url
Defines a URL that points to the person's homepage or business website.
|
class |
Xml
Contains an XML element that was not recognized when parsing an xCard
(XML-formatted vCard).
|
Modifier and Type | Method and Description |
---|---|
int |
VCardProperty.compareTo(VCardProperty that)
Sorts by PREF parameter ascending.
|
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.