org.apache.jackrabbit.webdav.security
Class SupportedPrivilege
java.lang.Object
org.apache.jackrabbit.webdav.security.SupportedPrivilege
- All Implemented Interfaces:
- XmlSerializable
public class SupportedPrivilege
- extends Object
- implements XmlSerializable
SupportedPrivilege
...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupportedPrivilege
public SupportedPrivilege(Privilege privilege,
String description,
String descriptionLanguage,
boolean isAbstract,
SupportedPrivilege[] supportedPrivileges)
- Parameters:
privilege
- description
- descriptionLanguage
- isAbstract
- supportedPrivileges
-
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-2009 The Apache Software Foundation. All Rights Reserved.