org.apache.jackrabbit.webdav.security
Class AclProperty.Ace

java.lang.Object
  extended by 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
 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 as Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 as Element. The given Document is used as factory and represents the owner document of the returned DOM element.

Specified by:
toXml in interface XmlSerializable
Parameters:
document - to be used as factory.
Returns:
a w3c element representing this object
See Also:
XmlSerializable.toXml(Document)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.