Class SupportedPrivilege
- java.lang.Object
-
- org.apache.jackrabbit.webdav.security.SupportedPrivilege
-
- All Implemented Interfaces:
XmlSerializable
public class SupportedPrivilege extends java.lang.Object implements XmlSerializable
SupportedPrivilege
...
-
-
Constructor Summary
Constructors Constructor Description SupportedPrivilege(Privilege privilege, java.lang.String description, java.lang.String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Privilege
getPrivilege()
SupportedPrivilege[]
getSupportedPrivileges()
boolean
isAbstract()
org.w3c.dom.Element
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object asElement
.
-
-
-
Constructor Detail
-
SupportedPrivilege
public SupportedPrivilege(Privilege privilege, java.lang.String description, java.lang.String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges)
- Parameters:
privilege
-description
-descriptionLanguage
-isAbstract
-supportedPrivileges
-
-
-
Method Detail
-
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)
-
getPrivilege
public Privilege getPrivilege()
-
isAbstract
public boolean isAbstract()
-
getSupportedPrivileges
public SupportedPrivilege[] getSupportedPrivileges()
-
-