Class AclProperty.Ace
- java.lang.Object
-
- org.apache.jackrabbit.webdav.security.AclProperty.Ace
-
- All Implemented Interfaces:
SecurityConstants
,XmlSerializable
- Enclosing class:
- AclProperty
public static class AclProperty.Ace extends java.lang.Object implements XmlSerializable, SecurityConstants
Simple WebDAV ACE implementation
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.webdav.security.SecurityConstants
ACL, ACL_RESTRICTIONS, ALTERNATE_URI_SET, CURRENT_USER_PRIVILEGE_SET, GROUP, GROUP_MEMBER_SET, GROUP_MEMBERSHIP, INHERITED_ACL_SET, NAMESPACE, OWNER, PRINCIPAL_COLLECTION_SET, PRINCIPAL_RESOURCETYPE, PRINCIPAL_URL, SUPPORTED_PRIVILEGE_SET
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInheritedHref()
Principal
getPrincipal()
Privilege[]
getPrivileges()
boolean
isDeny()
boolean
isGrant()
boolean
isInvert()
boolean
isProtected()
org.w3c.dom.Element
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object asElement
.
-
-
-
Method Detail
-
getPrincipal
public Principal getPrincipal()
-
isInvert
public boolean isInvert()
-
getPrivileges
public Privilege[] getPrivileges()
-
isGrant
public boolean isGrant()
-
isDeny
public boolean isDeny()
-
isProtected
public boolean isProtected()
-
getInheritedHref
public java.lang.String getInheritedHref()
-
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Document document)
Description copied from interface:XmlSerializable
Returns the xml representation of the implementing object asElement
. The givenDocument
is used as factory and represents theowner document
of the returned DOM element.- Specified by:
toXml
in interfaceXmlSerializable
- Parameters:
document
- to be used as factory.- Returns:
- a w3c element representing this object
- See Also:
XmlSerializable.toXml(Document)
-
-