|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServletMappingType
public class ServletMappingType
The servlet-mappingType defines a mapping between a servlet and a url pattern. Used in: web-app
Java class for servlet-mappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servlet-mappingType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/>
<element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
id
|
protected ServletNameType |
servletName
|
protected UrlPatternType[] |
urlPattern
|
| Constructor Summary | |
|---|---|
ServletMappingType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServletMappingType instance. |
|
ServletMappingType(ServletMappingType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServletMappingType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
ServletMappingType |
clone()
Creates and returns a copy of this object. |
void |
copyUrlPattern(UrlPatternType[] source)
Copies all values of property UrlPattern. |
String |
getId()
Gets the value of the id property. |
ServletNameType |
getServletName()
Gets the value of the servletName property. |
UrlPatternType[] |
getUrlPattern()
|
UrlPatternType |
getUrlPattern(int idx)
|
int |
getUrlPatternLength()
|
void |
setId(String value)
Sets the value of the id property. |
void |
setServletName(ServletNameType value)
Sets the value of the servletName property. |
UrlPatternType |
setUrlPattern(int idx,
UrlPatternType value)
|
void |
setUrlPattern(UrlPatternType[] values)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServletNameType servletName
protected UrlPatternType[] urlPattern
protected String id
| Constructor Detail |
|---|
public ServletMappingType()
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServletMappingType instance.
public ServletMappingType(ServletMappingType o)
net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.ServletMappingType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public ServletNameType getServletName()
ServletNameTypepublic void setServletName(ServletNameType value)
value - allowed object is
ServletNameTypepublic UrlPatternType[] getUrlPattern()
UrlPatternTypepublic UrlPatternType getUrlPattern(int idx)
UrlPatternTypepublic int getUrlPatternLength()
public void setUrlPattern(UrlPatternType[] values)
values - allowed objects are
UrlPatternType
public UrlPatternType setUrlPattern(int idx,
UrlPatternType value)
value - allowed object is
UrlPatternTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic void copyUrlPattern(UrlPatternType[] source)
UrlPattern.
source - The source to copy from.
NullPointerException - if source is null.public ServletMappingType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||