public class ServletType
extends java.lang.Object
Java class for servletType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="servletType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="servlet-name" type="{http://java.sun.com/xml/ns/javaee}servlet-nameType"/>
<choice>
<element name="servlet-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="jsp-file" type="{http://java.sun.com/xml/ns/javaee}jsp-fileType"/>
</choice>
<element name="init-param" type="{http://java.sun.com/xml/ns/javaee}param-valueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="load-on-startup" type="{http://java.sun.com/xml/ns/javaee}load-on-startupType" minOccurs="0"/>
<element name="run-as" type="{http://java.sun.com/xml/ns/javaee}run-asType" minOccurs="0"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<DescriptionType> |
description |
protected java.util.List<DisplayNameType> |
displayName |
protected java.util.List<IconType> |
icon |
protected java.lang.String |
id |
protected java.util.List<ParamValueType> |
initParam |
protected JspFileType |
jspFile |
protected java.lang.String |
loadOnStartup |
protected RunAsType |
runAs |
protected java.util.List<SecurityRoleRefType> |
securityRoleRef |
protected FullyQualifiedClassType |
servletClass |
protected ServletNameType |
servletName |
| Constructor and Description |
|---|
ServletType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
java.util.List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property.
|
java.util.List<IconType> |
getIcon()
Gets the value of the icon property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<ParamValueType> |
getInitParam()
Gets the value of the initParam property.
|
JspFileType |
getJspFile()
Gets the value of the jspFile property.
|
java.lang.String |
getLoadOnStartup()
Gets the value of the loadOnStartup property.
|
RunAsType |
getRunAs()
Gets the value of the runAs property.
|
java.util.List<SecurityRoleRefType> |
getSecurityRoleRef()
Gets the value of the securityRoleRef property.
|
FullyQualifiedClassType |
getServletClass()
Gets the value of the servletClass property.
|
ServletNameType |
getServletName()
Gets the value of the servletName property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setJspFile(JspFileType value)
Sets the value of the jspFile property.
|
void |
setLoadOnStartup(java.lang.String value)
Sets the value of the loadOnStartup property.
|
void |
setRunAs(RunAsType value)
Sets the value of the runAs property.
|
void |
setServletClass(FullyQualifiedClassType value)
Sets the value of the servletClass property.
|
void |
setServletName(ServletNameType value)
Sets the value of the servletName property.
|
protected java.util.List<DescriptionType> description
protected java.util.List<DisplayNameType> displayName
protected java.util.List<IconType> icon
protected ServletNameType servletName
protected FullyQualifiedClassType servletClass
protected JspFileType jspFile
protected java.util.List<ParamValueType> initParam
protected java.lang.String loadOnStartup
protected RunAsType runAs
protected java.util.List<SecurityRoleRefType> securityRoleRef
protected java.lang.String id
public java.util.List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public java.util.List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
public java.util.List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
public ServletNameType getServletName()
ServletNameTypepublic void setServletName(ServletNameType value)
value - allowed object is
ServletNameTypepublic FullyQualifiedClassType getServletClass()
FullyQualifiedClassTypepublic void setServletClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic JspFileType getJspFile()
JspFileTypepublic void setJspFile(JspFileType value)
value - allowed object is
JspFileTypepublic java.util.List<ParamValueType> getInitParam()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the initParam property.
For example, to add a new item, do as follows:
getInitParam().add(newItem);
Objects of the following type(s) are allowed in the list
ParamValueType
public java.lang.String getLoadOnStartup()
Stringpublic void setLoadOnStartup(java.lang.String value)
value - allowed object is
Stringpublic RunAsType getRunAs()
RunAsTypepublic void setRunAs(RunAsType value)
value - allowed object is
RunAsTypepublic java.util.List<SecurityRoleRefType> getSecurityRoleRef()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the securityRoleRef property.
For example, to add a new item, do as follows:
getSecurityRoleRef().add(newItem);
Objects of the following type(s) are allowed in the list
SecurityRoleRefType
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String