org.ow2.jonas.deployment.web.xml
Class AuthConstraint

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.web.xml.AuthConstraint
All Implemented Interfaces:
Serializable, Element

public class AuthConstraint
extends AbsElement

This class defines the implementation of the element auth-constraint

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
AuthConstraint()
          Constructor
 
Method Summary
 void addDescription(String description)
          Add a new description element to this object
 void addRoleName(String roleName)
          Add a new role-name element to this object
 JLinkedList getDescriptionList()
          Gets the description list
 JLinkedList getRoleNameList()
          Gets the role-name list
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthConstraint

public AuthConstraint()
Constructor

Method Detail

addDescription

public void addDescription(String description)
Add a new description element to this object

Parameters:
description - description

addRoleName

public void addRoleName(String roleName)
Add a new role-name element to this object

Parameters:
roleName - role-name

getDescriptionList

public JLinkedList getDescriptionList()
Gets the description list

Returns:
the description list

getRoleNameList

public JLinkedList getRoleNameList()
Gets the role-name list

Returns:
the role-name list

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.