superwaba.ext.xplat.io.pimal.addressbook
Class AddressField

java.lang.Object
  |
  +--superwaba.ext.xplat.io.pimal.VersitField
        |
        +--superwaba.ext.xplat.io.pimal.VCardField
              |
              +--superwaba.ext.xplat.io.pimal.addressbook.AddressField

public class AddressField
extends VCardField

Provides a data structure to save address data similarly to the vCard3.0 specification.


Fields inherited from class superwaba.ext.xplat.io.pimal.VCardField
ADR, BDAY, CATEGORIES, CLASS, EMAIL, FN, GEO, KEY, LABEL, LOGO, MAILER, N, NICKNAME, NOTE, ORG, PHOTO, PRODID, REV, ROLE, SORT_STRING, SOUND, TEL, TITLE, TZ, UID, URL, VERSION
 
Fields inherited from class superwaba.ext.xplat.io.pimal.VersitField
key, options, optionsAsArray, values, X
 
Constructor Summary
AddressField(int key, java.lang.String[] options, java.lang.String[] values)
           
 
Method Summary
 java.lang.Object clone()
          Clone's the AddressField
 
Methods inherited from class superwaba.ext.xplat.io.pimal.VCardField
toString
 
Methods inherited from class superwaba.ext.xplat.io.pimal.VersitField
addOption, cloneOptions, cloneValues, getKey, getOption, getOptions, getValues, hasOption, match, removeOption, setValues
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressField

public AddressField(int key,
                    java.lang.String[] options,
                    java.lang.String[] values)
Parameters:
key - this address' key (one of the static keys contained in VCardField)
options - an array of Strings of the form "option=value"
values - an array of values, corresponding to the vCard3.0 specification of the chosen key
Method Detail

clone

public java.lang.Object clone()
Clone's the AddressField
Overrides:
clone in class java.lang.Object
Returns:
a clone of this AddressField