1 17 package org.alfresco.service.namespace; 18 19 20 21 29 public interface NamespaceService extends NamespacePrefixResolver 30 { 31 32 public static final String DEFAULT_URI = ""; 33 34 35 public static final String DEFAULT_PREFIX = ""; 36 37 38 public static final String ALFRESCO_URI = "http://www.alfresco.org"; 39 40 41 public static final String ALFRESCO_PREFIX = "alf"; 42 43 44 public static final String DICTIONARY_MODEL_1_0_URI = "http://www.alfresco.org/model/dictionary/1.0"; 45 46 47 public static final String DICTIONARY_MODEL_PREFIX = "d"; 48 49 50 public static final String SYSTEM_MODEL_1_0_URI = "http://www.alfresco.org/model/system/1.0"; 51 52 53 public static final String SYSTEM_MODEL_PREFIX = "sys"; 54 55 56 public static final String CONTENT_MODEL_1_0_URI = "http://www.alfresco.org/model/content/1.0"; 57 58 59 public static final String CONTENT_MODEL_PREFIX = "cm"; 60 61 62 public static final String APP_MODEL_1_0_URI = "http://www.alfresco.org/model/application/1.0"; 63 64 65 public static final String APP_MODEL_PREFIX = "app"; 66 67 68 public static final String REPOSITORY_VIEW_1_0_URI = "http://www.alfresco.org/view/repository/1.0"; 69 70 71 public static final String REPOSITORY_VIEW_PREFIX = "view"; 72 73 74 public static final String SECURITY_MODEL_1_0_URI = "http://www.alfresco.org/model/security/1.0"; 75 76 77 public static final String SECURITY_MODEL_PREFIX = "security"; 78 79 80 86 public void registerNamespace(String prefix, String uri); 87 88 89 94 public void unregisterNamespace(String prefix); 95 96 } 97 | Popular Tags |