Class SupportedPrivilege
java.lang.Object
org.apache.jackrabbit.webdav.security.SupportedPrivilege
- All Implemented Interfaces:
XmlSerializable
SupportedPrivilege...-
Constructor Summary
ConstructorsConstructorDescriptionSupportedPrivilege(Privilege privilege, String description, String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the xml representation of the implementing object asElement.
-
Constructor Details
-
SupportedPrivilege
public SupportedPrivilege(Privilege privilege, String description, String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges) - Parameters:
privilege-description-descriptionLanguage-isAbstract-supportedPrivileges-
-
-
Method Details
-
toXml
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:
-
getPrivilege
-
isAbstract
public boolean isAbstract() -
getSupportedPrivileges
-