01: package com.sun.addressbook.wabp;
02:
03: public interface WabpABConstants {
04:
05: // wabp xml elements
06: public static final String WABP_ABPERSON = "abperson";
07: public static final String WABP_GROUP = "group";
08:
09: public static final String WABP_ADDRESS_HOME_STREET = "postaladdress[@type='home']/street";
10: public static final String WABP_ADDRESS_HOME_CITY = "postaladdress[@type='home']/city";
11: public static final String WABP_ADDRESS_HOME_STATE = "postaladdress[@type='home']/state";
12: public static final String WABP_ADDRESS_HOME_ZIP = "postaladdress[@type='home']/postalcode";
13: public static final String WABP_ADDRESS_HOME_COUNTRY = "postaladdress[@type='home']/country";
14:
15: public static final String WABP_ADDRESS_WORK_STREET = "postaladdress[@type='work']/street";
16: public static final String WABP_ADDRESS_WORK_CITY = "postaladdress[@type='work']/city";
17: public static final String WABP_ADDRESS_WORK_STATE = "postaladdress[@type='work']/state";
18: public static final String WABP_ADDRESS_WORK_ZIP = "postaladdress[@type='work']/postalcode";
19: public static final String WABP_ADDRESS_WORK_COUNTRY = "postaladdress[@type='work']/country";
20:
21: public static final String WABP_ENTRY = "entry";
22: public static final String WABP_ENTRY_DESCRIPTION = "entry/description";
23: public static final String WABP_ENTRY_DISPLAYNAME = "entry/displayname";
24: public static final String WABP_ENTRY_ID = "entryID";
25:
26: public static final String WABP_EMAIL = "email";
27: public static final String WABP_EMAIL_PRIMARY = "email[@priority='1']";
28: public static final String WABP_EMAIL_SMS = "email[@type='sms']";
29:
30: public static final String WABP_MEMBEROFBOOK = "memberofbook";
31: public static final String WABP_MEMBEROFGROUP = "memberofgroup";
32:
33: public static final String WABP_PHONE = "phone";
34: public static final String WABP_PHONE_FAX = "phone[@type='fax']";
35: public static final String WABP_PHONE_HOME = "phone[@type='home']";
36: public static final String WABP_PHONE_MOBILE = "phone[@type='mobile']";
37: public static final String WABP_PHONE_PAGER = "phone[@type='pager']";
38: public static final String WABP_PHONE_WORK = "phone[@type='work']";
39:
40: public static final String WABP_PERSON_DATE_BIRTHDAY = "person/date[@type='birthday']";
41: public static final String WABP_PERSON_GIVENNAME = "person/givenname";
42: public static final String WABP_PERSON_SURNAME = "person/surname";
43:
44: public static final String WABP_WEBURL_PRIMARY = "weburl[@priority='1']/urladdr";
45:
46: // filter sort
47: public static final String SORT_ASCENDING = "";
48: public static final String SORT_DESCENDING = "-";
49:
50: }
|