|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectezvcard.types.VCardType
ezvcard.types.TextType
ezvcard.types.UriType
ezvcard.types.OrgDirectoryType
public class OrgDirectoryType
Defines a URI representing the person's work place, which can be used to lookup information on the person's co-workers.
VCard vcard = new VCard(); OrgDirectoryType orgDirectory = new OrgDirectoryType("http://www.company.com/staff"); vcard.addOrgDirectory(orgDirectory);
vCard property name: ORG-DIRECTORY
vCard versions: 4.0
Field Summary | |
---|---|
static String |
NAME
|
Fields inherited from class ezvcard.types.TextType |
---|
value |
Fields inherited from class ezvcard.types.VCardType |
---|
group, subTypes, typeName |
Constructor Summary | |
---|---|
OrgDirectoryType()
|
|
OrgDirectoryType(String uri)
|
Method Summary | |
---|---|
String |
getAltId()
Gets the ALTID. |
Integer |
getIndex()
Gets the INDEX parameter. |
String |
getLanguage()
Gets the LANGUAGE parameter. |
Integer |
getPref()
Gets the preference value. |
VCardVersion[] |
getSupportedVersions()
Gets the vCard versions that support this type. |
String |
getType()
Gets the TYPE parameter. |
void |
setAltId(String altId)
Sets the ALTID. |
void |
setIndex(Integer index)
Sets the INDEX parameter. |
void |
setLanguage(String language)
Sets the LANGUAGE parameter. |
void |
setPref(Integer pref)
Sets the preference value. |
void |
setType(String type)
Sets the TYPE parameter. |
Methods inherited from class ezvcard.types.UriType |
---|
doMarshalXml, doUnmarshalHtml, doUnmarshalXml |
Methods inherited from class ezvcard.types.TextType |
---|
doMarshalText, doUnmarshalText, getValue, setValue |
Methods inherited from class ezvcard.types.VCardType |
---|
compareTo, doMarshalSubTypes, getGroup, getQName, getSubTypes, getTypeName, marshalSubTypes, marshalText, marshalXml, setGroup, unmarshalHtml, unmarshalText, unmarshalXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
Constructor Detail |
---|
public OrgDirectoryType()
public OrgDirectoryType(String uri)
uri
- the URIMethod Detail |
---|
public VCardVersion[] getSupportedVersions()
VCardType
getSupportedVersions
in class VCardType
public Integer getIndex()
VCardSubTypes.getIndex()
public void setIndex(Integer index)
index
- the INDEX or null to removeVCardSubTypes.setIndex(java.lang.Integer)
public String getType()
public void setType(String type)
type
- the TYPE value (this should be either "work" or "home") or
null to removepublic String getLanguage()
VCardSubTypes.getLanguage()
public void setLanguage(String language)
language
- the language or null to removeVCardSubTypes.setLanguage(java.lang.String)
public Integer getPref()
vCard versions: 4.0
VCardSubTypes.getPref()
public void setPref(Integer pref)
vCard versions: 4.0
pref
- the preference value or null to removeVCardSubTypes.setPref(java.lang.Integer)
public String getAltId()
vCard versions: 4.0
VCardSubTypes.getAltId()
public void setAltId(String altId)
vCard versions: 4.0
altId
- the ALTID or null to removeVCardSubTypes.setAltId(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |