|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.xml.AbsElement org.ow2.jonas.deployment.web.xml.WebResourceCollection
public class WebResourceCollection
This class defines the implementation of the element web-resource-collection
Constructor Summary | |
---|---|
WebResourceCollection()
Constructor |
Method Summary | |
---|---|
void |
addDescription(String description)
Add a new description element to this object |
void |
addHttpMethod(String httpMethod)
Add a new http-method element to this object |
void |
addUrlPattern(String urlPattern)
Add a new url-pattern element to this object |
JLinkedList |
getDescriptionList()
Gets the description list |
JLinkedList |
getHttpMethodList()
Gets the http-method list |
JLinkedList |
getUrlPatternList()
Gets the url-pattern list |
String |
getWebResourceName()
Gets the web-resource-name |
void |
setWebResourceName(String webResourceName)
Set the web-resource-name of this object |
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 |
---|
public WebResourceCollection()
Method Detail |
---|
public void setWebResourceName(String webResourceName)
webResourceName
- name of this objectpublic void addDescription(String description)
description
- descriptionpublic void addUrlPattern(String urlPattern)
urlPattern
- url-patternpublic void addHttpMethod(String httpMethod)
httpMethod
- http-methodpublic String getWebResourceName()
public JLinkedList getDescriptionList()
public JLinkedList getUrlPatternList()
public JLinkedList getHttpMethodList()
public String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |