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 PrivilegegetPrivilege()SupportedPrivilege[]getSupportedPrivileges()booleanisAbstract()ElementtoXml(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:XmlSerializableReturns the xml representation of the implementing object asElement. The givenDocumentis used as factory and represents theowner documentof the returned DOM element.- Specified by:
toXmlin 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()
-
-