1 package org
.argeo
.api
.acr
;
4 * Name for core concepts with the same semantics as defined in the WebDav
5 * standard and extensions.
7 * @see "http://www.webdav.org/specs/rfc4918.html"
8 * @see "http://www.webdav.org/specs/rfc3744.html"
10 public enum DName
implements QNamed
13 // RFC4918 (WebDav) properties used as CR attr
16 getcontentlanguage
, //
23 // RFC4918 (WebDav) value used as CR class
26 // RFC3744 (ACL) properties used as CR attr
30 // RFC3253 (versioning) properties used as CR attr
31 checkedOut("checked-out"), //
32 checkedIn("checked-in"), //
36 public final static String WEBDAV_NAMESPACE_URI
= "DAV:";
37 public final static String WEBDAV_DEFAULT_PREFIX
= "D";
39 private final String localName
;
41 private DName(String localName
) {
42 assert localName
!= null;
43 this.localName
= localName
;
47 this.localName
= null;
51 public String
localName() {
52 if (localName
!= null)
59 public String
getNamespace() {
60 return WEBDAV_NAMESPACE_URI
;
64 public String
getDefaultPrefix() {
65 return WEBDAV_DEFAULT_PREFIX
;