public class SupportedPrivilege extends Object implements XmlSerializable
SupportedPrivilege
...Constructor and Description |
---|
SupportedPrivilege(Privilege privilege,
String description,
String descriptionLanguage,
boolean isAbstract,
SupportedPrivilege[] supportedPrivileges) |
Modifier and Type | Method and Description |
---|---|
Privilege |
getPrivilege() |
SupportedPrivilege[] |
getSupportedPrivileges() |
boolean |
isAbstract() |
Element |
toXml(Document document)
Returns the xml representation of the implementing object as
Element . |
public SupportedPrivilege(Privilege privilege, String description, String descriptionLanguage, boolean isAbstract, SupportedPrivilege[] supportedPrivileges)
privilege
- description
- descriptionLanguage
- isAbstract
- supportedPrivileges
- public Element toXml(Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.toXml
in interface XmlSerializable
document
- to be used as factory.XmlSerializable.toXml(Document)
public Privilege getPrivilege()
public boolean isAbstract()
public SupportedPrivilege[] getSupportedPrivileges()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.