| Index: src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java |
| =================================================================== |
| --- src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java (revision 0) |
| +++ src/com/google/api/data/provisioning/v2/ProvisioningApiInfo.java (revision 0) |
| @@ -0,0 +1,41 @@ |
| +// Copyright 2011 Google Inc. All Rights Reserved. |
| + |
| +package com.google.api.data.provisioning.v2; |
| + |
| +import com.google.api.client.xml.XmlNamespaceDictionary; |
| + |
| + |
| +import java.util.Map; |
| +/** |
| + * @author shraddhag@google.com (Shraddha Gupta) |
| + * |
| + */ |
| +public class ProvisioningApiInfo { |
| + |
| + /** Version name. */ |
| + public static final String VERSION = "2"; |
| + |
| + /** The authentication token type used for Client Login. */ |
| + public static final String AUTH_TOKEN_TYPE = "apps"; |
| + |
| + /** The authentication scope for OAuth */ |
| + public static final String AUTH_SCOPE = "https://apps-apis-google.com/a/feeds"; |
| + |
| + /** |
| + * XML namespace dictionary. |
| + */ |
| + public static final XmlNamespaceDictionary NAMESPACE_DICTIONARY = new XmlNamespaceDictionary(); |
| + static { |
| + Map<String, String> map = NAMESPACE_DICTIONARY.namespaceAliasToUriMap; |
| + map.put("apps", "http://schemas.google.com/apps/2006"); |
| + map.put("atom", "http://www.w3.org/2005/Atom"); |
| + map.put("gd", "http://schemas.google.com/g/2005"); |
| + } |
| + |
| + /** |
| + * Private constructor for utility class. |
| + */ |
| + private ProvisioningApiInfo() { |
| + } |
| +} |
| + |