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