public final class VCard
extends java.lang.Object
The implementation of the <vCard/>
element in the vcard-temp
namespace.
Modifier and Type | Class and Description |
---|---|
static class |
VCard.Address
Represents structured address data.
|
static class |
VCard.AddressLabel
Represents the formatted text corresponding to a delivery address.
|
static class |
VCard.Classification |
static class |
VCard.Email
Represents an email address.
|
static class |
VCard.Geo
Stores information related to the global positioning.
|
static class |
VCard.Image
Represents an image.
|
static class |
VCard.Key
Represents an authentication credential or encryption key.
|
static class |
VCard.Name
Represents a name.
|
static class |
VCard.Organization
Represents an organization.
|
static class |
VCard.Sound
Represents an image.
|
static class |
VCard.TelephoneNumber
Represents a telephone number.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
vcard-temp
|
Constructor and Description |
---|
VCard() |
Modifier and Type | Method and Description |
---|---|
java.util.List<VCard.Address> |
getAddresses()
Gets the addresses.
|
java.lang.String |
getAgent()
Gets information about another person who will act on behalf of the individual or resource associated with the vCard.
|
java.time.LocalDate |
getBirthday()
Gets the birthday.
|
java.util.List<java.lang.String> |
getCategories()
Gets application category information about the vCard.
|
VCard.Classification |
getClassification() |
java.lang.String |
getDesc()
Gets free-form descriptive text.
|
java.util.List<VCard.Email> |
getEmails()
Gets the email addresses.
|
java.lang.String |
getFormattedName()
Gets the formatted text corresponding to the name.
|
VCard.Geo |
getGeo()
Gets information related to the global positioning of the object the vCard represents.
|
Jid |
getJid()
Gets the JID.
|
VCard.Key |
getKey()
Gets the authentication credential or encryption key.
|
java.util.List<VCard.AddressLabel> |
getLabels()
Gets the labels.
|
VCard.Image |
getLogo()
Gets the logo.
|
java.lang.String |
getMailer()
Gets the type of electronic mail software that is used by the individual associated with the vCard.
|
VCard.Name |
getName()
Gets the name.
|
java.lang.String |
getNickname()
Gets the nickname.
|
java.lang.String |
getNote()
Gets supplemental information or a comment that is associated with the vCard.
|
VCard.Organization |
getOrganization()
Gets the organization.
|
VCard.Image |
getPhoto()
Gets the photo.
|
java.lang.String |
getProductId()
Gets the identifier for the product that created the vCard object.
|
java.time.Instant |
getRevision()
Gets revision information about the current vCard.
|
java.lang.String |
getRole()
Gets information concerning the role, occupation, or business category of the object the vCard represents.
|
java.lang.String |
getSortString()
|
java.lang.String |
getSound()
Gets the sound, zo specify a digital sound content information that annotates some aspect of the vCard.
|
java.util.List<VCard.TelephoneNumber> |
getTelephoneNumbers()
Gets the telephone numbers.
|
java.lang.String |
getTimeZone()
Gets the time zone.
|
java.lang.String |
getTitle()
Gets the job title, functional position or function of the object the vCard represents.
|
java.lang.String |
getUid()
Gets the UID, to specify a value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard.
|
java.net.URL |
getUrl()
Gets an URL associated with the object that the vCard refers to.
|
void |
setAgent(java.lang.String agent)
Sets the agent.
|
void |
setBirthday(java.time.LocalDate birthday)
Sets the birthday.
|
void |
setClassification(VCard.Classification classification) |
void |
setDesc(java.lang.String desc)
Sets free-form descriptive text.
|
void |
setFormattedName(java.lang.String formattedName)
Sets the formatted name.
|
void |
setGeo(VCard.Geo geo)
Sets the geo location.
|
void |
setJid(Jid jid)
Sets the JID.
|
void |
setKey(VCard.Key key)
Sets the authentication credential or encryption key.
|
void |
setLogo(VCard.Image logo)
Sets the logo.
|
void |
setMailer(java.lang.String mailer)
Sets the mailer.
|
void |
setName(VCard.Name name)
Sets the name.
|
void |
setNickname(java.lang.String nickname)
Sets the nickname.
|
void |
setNote(java.lang.String note)
Sets a note.
|
void |
setOrganization(VCard.Organization organization)
Sets the organization.
|
void |
setPhoto(VCard.Image photo)
Sets the photo.
|
void |
setProductId(java.lang.String productId)
Sets the product id.
|
void |
setRevision(java.time.Instant revision)
Sets revision information.
|
void |
setRole(java.lang.String role)
Sets the role.
|
void |
setSortString(java.lang.String sortString)
Sets the sort string.
|
void |
setSound(java.lang.String sound)
Sets the sound.
|
void |
setTimeZone(java.lang.String timezone)
Sets the time zone.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
void |
setUid(java.lang.String uid)
Sets the UID.
|
void |
setUrl(java.net.URL url)
Sets an URL.
|
public static final java.lang.String NAMESPACE
vcard-temp
public java.lang.String getFormattedName()
Gets the formatted text corresponding to the name.
setFormattedName(String)
public void setFormattedName(java.lang.String formattedName)
Sets the formatted name.
formattedName
- The formatted name.getFormattedName()
public VCard.Name getName()
Gets the name.
setName(VCard.Name)
public void setName(VCard.Name name)
Sets the name.
name
- The name.getName()
public java.lang.String getNickname()
Gets the nickname.
setNickname(String)
public void setNickname(java.lang.String nickname)
Sets the nickname.
nickname
- The nickname.getNickname()
public VCard.Image getPhoto()
Gets the photo.
setPhoto(VCard.Image)
public void setPhoto(VCard.Image photo)
Sets the photo.
photo
- The photo.getPhoto()
public java.time.LocalDate getBirthday()
Gets the birthday.
setBirthday(LocalDate)
public void setBirthday(java.time.LocalDate birthday)
Sets the birthday.
birthday
- The birthday.getBirthday()
public java.net.URL getUrl()
Gets an URL associated with the object that the vCard refers to.
setUrl(java.net.URL)
public void setUrl(java.net.URL url)
Sets an URL.
url
- The URL.getUrl()
public VCard.Organization getOrganization()
Gets the organization.
setOrganization(VCard.Organization)
public void setOrganization(VCard.Organization organization)
Sets the organization.
organization
- The organization.getOrganization()
public java.util.List<VCard.Address> getAddresses()
Gets the addresses.
public java.util.List<VCard.TelephoneNumber> getTelephoneNumbers()
Gets the telephone numbers.
public java.util.List<VCard.Email> getEmails()
Gets the email addresses.
public java.util.List<VCard.AddressLabel> getLabels()
Gets the labels.
public Jid getJid()
Gets the JID.
setJid(Jid)
public java.lang.String getMailer()
Gets the type of electronic mail software that is used by the individual associated with the vCard.
setMailer(String)
public void setMailer(java.lang.String mailer)
Sets the mailer.
mailer
- The mailer.getMailer()
public java.lang.String getTimeZone()
Gets the time zone.
setTimeZone(String)
public void setTimeZone(java.lang.String timezone)
Sets the time zone.
timezone
- The time zone.getTimeZone()
public VCard.Geo getGeo()
Gets information related to the global positioning of the object the vCard represents.
setGeo(VCard.Geo)
public void setGeo(VCard.Geo geo)
Sets the geo location.
geo
- The geo location.getGeo()
public java.lang.String getTitle()
Gets the job title, functional position or function of the object the vCard represents.
setTitle(String)
public void setTitle(java.lang.String title)
Sets the title.
title
- The title.getTitle()
public java.lang.String getRole()
Gets information concerning the role, occupation, or business category of the object the vCard represents.
setRole(String)
public void setRole(java.lang.String role)
Sets the role.
role
- The role.getRole()
public java.lang.String getAgent()
Gets information about another person who will act on behalf of the individual or resource associated with the vCard.
setAgent(String)
public void setAgent(java.lang.String agent)
Sets the agent.
agent
- The agent.getAgent()
public VCard.Image getLogo()
Gets the logo.
setLogo(VCard.Image)
public void setLogo(VCard.Image logo)
Sets the logo.
logo
- The logo.getLogo()
public java.util.List<java.lang.String> getCategories()
Gets application category information about the vCard.
public java.lang.String getNote()
Gets supplemental information or a comment that is associated with the vCard.
setNote(String)
public void setNote(java.lang.String note)
Sets a note.
note
- The note.getNote()
public java.lang.String getProductId()
Gets the identifier for the product that created the vCard object.
setProductId(String)
public void setProductId(java.lang.String productId)
Sets the product id.
productId
- The product id.getProductId()
public java.time.Instant getRevision()
Gets revision information about the current vCard.
setRevision(Instant)
public void setRevision(java.time.Instant revision)
Sets revision information.
revision
- The revision information.getRevision()
public java.lang.String getSortString()
Gets the sort string, specifying the family name or given name text to be used for national-language-specific sorting of the FN and N types.
setSortString(String)
public void setSortString(java.lang.String sortString)
Sets the sort string.
sortString
- The sort string.getSortString()
public java.lang.String getSound()
Gets the sound, zo specify a digital sound content information that annotates some aspect of the vCard. By default this type is used to specify the proper pronunciation of the name type value of the vCard.
setSound(String)
public void setSound(java.lang.String sound)
Sets the sound.
sound
- The sound.getSound()
public java.lang.String getUid()
Gets the UID, to specify a value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard.
setUid(String)
public void setUid(java.lang.String uid)
Sets the UID.
uid
- The UID.getUid()
public VCard.Key getKey()
Gets the authentication credential or encryption key.
setKey(VCard.Key)
public void setKey(VCard.Key key)
Sets the authentication credential or encryption key.
key
- The key.getKey()
public java.lang.String getDesc()
Gets free-form descriptive text.
setDesc(String)
public void setDesc(java.lang.String desc)
Sets free-form descriptive text.
desc
- The descriptive text.getDesc()
public VCard.Classification getClassification()
public void setClassification(VCard.Classification classification)
Copyright © 2014–2019 XMPP.rocks. All rights reserved.