org.apache.jackrabbit.webdav.security
Class SupportedPrivilege

java.lang.Object
  extended by org.apache.jackrabbit.webdav.security.SupportedPrivilege
All Implemented Interfaces:
XmlSerializable

public class SupportedPrivilege
extends Object
implements XmlSerializable

SupportedPrivilege...


Constructor Summary
SupportedPrivilege(Privilege privilege, String description, String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges)
           
 
Method Summary
 Element toXml(Document document)
          Returns the xml representation of the implementing object as Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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 © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.