@@ -0,0 +1,3538 @@
+/* **********************************************************************%0A    Copyright 2005 Rensselaer Polytechnic Institute. All worldwide rights reserved.%0A%0A    Redistribution and use of this distribution in source and binary forms,%0A    with or without modification, are permitted provided that:%0A       The above copyright notice and this permission notice appear in all%0A        copies and supporting documentation;%0A%0A        The name, identifiers, and trademarks of Rensselaer Polytechnic%0A        Institute are not used in advertising or publicity without the%0A        express prior written permission of Rensselaer Polytechnic Institute;%0A%0A    DISCLAIMER: The software is distributed%22 AS IS%22 without any express or%0A    implied warranty, including but not limited to, any implied warranties%0A    of merchantability or fitness for a particular purpose or any warrant)'%0A    of non-infringement of any current or pending patent rights. The authors%0A    of the software make no representations about the suitability of this%0A    software for any particular purpose. The entire risk as to the quality%0A    and performance of the software is with the user. Should the software%0A    prove defective, the user assumes the cost of all necessary servicing,%0A    repair or correction. In particular, neither Rensselaer Polytechnic%0A    Institute, nor the authors of the software are liable for any indirect,%0A    special, consequential, or incidental damages related to the software,%0A    to the maximum extent the law permits.%0A*/%0Apackage edu.rpi.sss.util.xml.tagdefs;%0A%0Aimport java.util.HashMap;%0A%0Aimport javax.xml.namespace.QName;%0A%0A/** Define Carddav tags for XMlEmit%0A *%0A * @author Mike Douglass douglm@rpi.edu%0A */%0Apublic class CarddavTags %7B%0A  /** Namespace for these tags%0A   */%0A  public static final String namespace = %22urn:ietf:params:xml:ns:carddav%22;%0A%0A  /** Tables of QNames indexed by name%0A   */%0A  public final static HashMap%3CString, QName%3E qnames = new HashMap%3CString, QName%3E();%0A%0A  /** */%0A  public static final QName addressbook = makeQName(%22addressbook%22);%0A%0A  /** */%0A  public static final QName addressbookDescription = makeQName(%22addressbook-description%22);%0A%0A  /** */%0A  public static final QName addressbookHomeSet = makeQName(%22addressbook-home-set%22);%0A%0A  /**   */%0A  public static final QName addressbookMultiget = makeQName(%22addressbook-multiget%22);%0A%0A  /** */%0A  public static final QName addressbookQuery = makeQName(%22addressbook-query%22);%0A%0A  /** */%0A  public static final QName addressData = makeQName(%22address-data%22);%0A%0A  /** */%0A  public static final QName allprop = makeQName(%22allprop%22);%0A%0A  /**   */%0A  public static final QName filter = makeQName(%22filter%22);%0A%0A  /**   */%0A  public static final QName isNotDefined = makeQName(%22is-not-defined%22);%0A%0A  /**   */%0A  public static final QName maxResourceSize = makeQName(%22max-resource-size%22);%0A%0A  /**   */%0A  public static final QName paramFilter = makeQName(%22param-filter%22);%0A%0A  /** */%0A  public static final QName principalAddress = makeQName(%22principal-address%22);%0A%0A  /**   */%0A  public static final QName prop = makeQName(%22prop%22);%0A%0A  /**   */%0A  public static final QName propFilter = makeQName(%22prop-filter%22);%0A%0A  /** */%0A  public static final QName supportedAddressData = makeQName(%22supported--address-data%22);%0A%0A  /** */%0A  public static final QName supportedCollation = makeQName(%22supported-collation%22);%0A%0A  /**   */%0A  public static final QName textMatch = makeQName(%22text-match%22);%0A%0A  private static QName makeQName(String name) %7B%0A    QName q = new QName(namespace, name);%0A    qnames.put(name, q);%0A%0A    return q;%0A  %7D%0A%7D%0A%0A

Add carddav tags