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

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

public class SecurityConstraint
extends AbsElement

This class defines the implementation of the element security-constraint

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
SecurityConstraint()
          Constructor
 
Method Summary
 void addWebResourceCollection(WebResourceCollection webResourceCollection)
          Add a new web-resource-collection element to this object
 AuthConstraint getAuthConstraint()
          Gets the authConstraint
 UserDataConstraint getUserDataConstraint()
          Gets the userDataConstraint
 JLinkedList getWebResourceCollectionList()
          Gets the webResourceCollection list
 void setAuthConstraint(AuthConstraint authConstraint)
          Set the auth-constraint
 void setUserDataConstraint(UserDataConstraint userDataConstraint)
          Set the user-data-constraint
 void setWebResourceCollectionList(JLinkedList webResourceCollectionList)
          Set the web-resource-collection
 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

SecurityConstraint

public SecurityConstraint()
Constructor

Method Detail

setWebResourceCollectionList

public void setWebResourceCollectionList(JLinkedList webResourceCollectionList)
Set the web-resource-collection

Parameters:
webResourceCollectionList - web-resource-collection

addWebResourceCollection

public void addWebResourceCollection(WebResourceCollection webResourceCollection)
Add a new web-resource-collection element to this object

Parameters:
webResourceCollection - web-resource-collection

setAuthConstraint

public void setAuthConstraint(AuthConstraint authConstraint)
Set the auth-constraint

Parameters:
authConstraint - auth-constraint

setUserDataConstraint

public void setUserDataConstraint(UserDataConstraint userDataConstraint)
Set the user-data-constraint

Parameters:
userDataConstraint - user-data-constraint

getWebResourceCollectionList

public JLinkedList getWebResourceCollectionList()
Gets the webResourceCollection list

Returns:
the webResourceCollection list

getAuthConstraint

public AuthConstraint getAuthConstraint()
Gets the authConstraint

Returns:
the authConstraint

getUserDataConstraint

public UserDataConstraint getUserDataConstraint()
Gets the userDataConstraint

Returns:
the userDataConstraint

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.