Modifier and Type | Method and Description |
---|---|
VCard |
Ezvcard.ParserChainTextString.first() |
VCard |
Ezvcard.ParserChainXmlString.first() |
VCard |
Ezvcard.ParserChainXmlDom.first() |
Modifier and Type | Method and Description |
---|---|
List<VCard> |
Ezvcard.ParserChainTextString.all() |
List<VCard> |
Ezvcard.ParserChainXmlString.all() |
List<VCard> |
Ezvcard.ParserChainXmlDom.all() |
Modifier and Type | Method and Description |
---|---|
static Ezvcard.WriterChainText |
Ezvcard.write(VCard... vcards)
Marshals one or more vCards to their traditional, plain-text
representation.
|
static Ezvcard.WriterChainXml |
Ezvcard.writeXml(VCard... vcards)
Marshals one or more vCards to their XML representation (xCard).
|
Modifier and Type | Method and Description |
---|---|
static Ezvcard.WriterChainText |
Ezvcard.write(Collection<VCard> vcards)
Marshals one or more vCards to their traditional, plain-text
representation.
|
static Ezvcard.WriterChainXml |
Ezvcard.writeXml(Collection<VCard> vcards)
Marshals one or more vCards to their XML representation (xCard).
|
Modifier and Type | Method and Description |
---|---|
protected abstract VCard |
StreamReader._readNext()
Reads the next vCard from the data stream.
|
VCard |
EmbeddedVCardException.getVCard()
Gets the vCard to marshal.
|
VCard |
StreamReader.readNext()
Reads the next vCard from the data stream.
|
Modifier and Type | Method and Description |
---|---|
List<VCard> |
StreamReader.readAll()
Reads all vCards from the data stream.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
StreamWriter._write(VCard vcard,
List<VCardProperty> properties)
Writes a vCard to the stream.
|
protected void |
StreamReader.assignLabels(VCard vcard,
List<Label> labels)
|
void |
EmbeddedVCardException.injectVCard(VCard vcard)
Injects the unmarshalled vCard into the property object that threw this
exception.
|
void |
EmbeddedVCardException.InjectionCallback.injectVCard(VCard vcard)
Injects an unmarshalled vCard into the property object.
|
void |
StreamWriter.write(VCard vcard)
Writes a vCard to the stream.
|
Constructor and Description |
---|
EmbeddedVCardException(VCard vcard)
Thrown to marshal a nested or embedded vCard.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AddressScribe._prepareParameters(Address property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
EmailScribe._prepareParameters(Email property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
TelephoneScribe._prepareParameters(Telephone property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
protected void |
VCardPropertyScribe._prepareParameters(T property,
VCardParameters copy,
VCardVersion version,
VCard vcard)
Sanitizes a property's parameters before the property is written.
|
protected void |
BinaryPropertyScribe._prepareParameters(T property,
VCardParameters copy,
VCardVersion version,
VCard vcard) |
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").
|
VCardParameters |
VCardPropertyScribe.prepareParameters(T property,
VCardVersion version,
VCard vcard)
Sanitizes a property's parameters (called before the property is
written).
|
Modifier and Type | Method and Description |
---|---|
protected VCard |
VCardReader._readNext() |
Modifier and Type | Method and Description |
---|---|
protected void |
VCardWriter._write(VCard vcard,
List<VCardProperty> propertiesToAdd) |
Modifier and Type | Method and Description |
---|---|
protected VCard |
XCardReader._readNext() |
Modifier and Type | Method and Description |
---|---|
List<VCard> |
XCardDocument.getVCards()
Parses all of the vCards from this XML document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XCardWriter._write(VCard vcard,
List<VCardProperty> properties) |
protected void |
XCardDocument.XCardDocumentStreamWriter._write(VCard vcard,
List<VCardProperty> properties) |
void |
XCardDocument.add(VCard vcard)
Adds a vCard to the XML document.
|
void |
XCardDocument.XCardDocumentStreamWriter.write(VCard vcard) |
Modifier and Type | Method and Description |
---|---|
VCard |
Agent.getVCard()
Gets an embedded vCard with the agent's information.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Related._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
DateOrTimeProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Email._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
BinaryProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Member._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
ListProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Telephone._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Impp._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Profile._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
VCardProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard)
Checks the property for data consistency problems or deviations from the
spec.
|
protected void |
Address._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Key._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Agent._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Gender._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Timezone._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
Geo._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
ClientPidMap._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
protected void |
PlaceProperty._validate(List<Warning> warnings,
VCardVersion version,
VCard vcard) |
void |
Agent.setVCard(VCard vcard)
Sets an embedded vCard with the agent's information.
|
List<Warning> |
VCardProperty.validate(VCardVersion version,
VCard vcard)
Checks the property for data consistency problems or deviations from the
spec.
|
Constructor and Description |
---|
Agent(VCard vcard)
Creates an agent 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.