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 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 String
getInheritedHref()
Principal
getPrincipal()
Privilege[]
getPrivileges()
boolean
isDeny()
boolean
isGrant()
boolean
isInvert()
boolean
isProtected()
Element
toXml(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 String getInheritedHref()
-
toXml
public Element toXml(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)
-
-