Class Vcard

Object
   |
   +--Vcard

class Vcard

Defined in vcard.js


Constructor Summary
Vcard()
            --------- |.##> <##.| Open Smart Card Development Platform (www.openscdp.org) |# #| |# #| Copyright (c) 1999-2011 CardContact Software & System Consulting |'##> <##'| Andreas Schwier, 32429 Minden, Germany (www.cardcontact.de) ---------
 
Method Summary
 void addEmail(<String> email)
           Add an Email to the buffer.
 void addTelephone(<String> type, <Number> tel)
           Add a telephone number to the buffer.
 ByteString getEncoded()
           Return the encoded vCard object
 Boolean hasAddress()
           Check if Address is present.
 Boolean hasBirthday()
           Check if Birthday is present.
 Boolean hasEmail()
           Check if Email Address is present.
 Boolean hasFormattedName()
           Check if Formatted Name is present.
 Boolean hasName()
           Check if the Name is present.
 Boolean hasNickname()
           Check if Nickname is present.
 Boolean hasOrganization()
           Check if Organization is present.
 Boolean hasTelephone()
           Check if Telephone Number is present.
 Boolean hasUrl()
           Check if URL is present.
 Boolean hasVersion()
           Check if Version is present.
 void setAddress(<String> street, <String> city, <String> postalCode, <String> country)
           Set an Address.
 void setBirthday(<String> bday)
           Set Birthday
 void setFormattedName(<String> fname)
           Set Formatted Name with the structure: "first name last name".
 void setName(firstName, lastName)
           Set Name.
 void setNickname(<String> nick)
           Set Nickname.
 void setOrganization(<String> org)
           Set Organization.
 void setUrl(<String> url)
           Set a URL.
 void setVersion(<String> version)
           Set Version

Constructor Detail

Vcard

Vcard()

Method Detail

addEmail

void addEmail(<String> email)

addTelephone

void addTelephone(<String> type, <Number> tel)

getEncoded

ByteString getEncoded()

hasAddress

Boolean hasAddress()

hasBirthday

Boolean hasBirthday()

hasEmail

Boolean hasEmail()

hasFormattedName

Boolean hasFormattedName()

hasName

Boolean hasName()

hasNickname

Boolean hasNickname()

hasOrganization

Boolean hasOrganization()

hasTelephone

Boolean hasTelephone()

hasUrl

Boolean hasUrl()

hasVersion

Boolean hasVersion()

setAddress

void setAddress(<String> street, <String> city, <String> postalCode, <String> country)

setBirthday

void setBirthday(<String> bday)

setFormattedName

void setFormattedName(<String> fname)

setName

void setName(firstName, lastName)

setNickname

void setNickname(<String> nick)

setOrganization

void setOrganization(<String> org)

setUrl

void setUrl(<String> url)

setVersion

void setVersion(<String> version)


Documentation generated by JSDoc on Tue Sep 3 22:29:45 2013