|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ServletType
public class ServletType
The servletType is used to declare a servlet. It contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded. Used in: web-app
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>
| Field Summary | |
|---|---|
protected DescriptionType[] |
description
|
protected DisplayNameType[] |
displayName
|
protected IconType[] |
icon
|
protected String |
id
|
protected ParamValueType[] |
initParam
|
protected JspFileType |
jspFile
|
protected String |
loadOnStartup
|
protected RunAsType |
runAs
|
protected SecurityRoleRefType[] |
securityRoleRef
|
protected FullyQualifiedClassType |
servletClass
|
protected ServletNameType |
servletName
|
| Constructor Summary | |
|---|---|
ServletType()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ServletType instance. |
|
ServletType(ServletType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ServletType instance by copying a given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected DisplayNameType[] displayName
protected IconType[] icon
protected ServletNameType servletName
protected FullyQualifiedClassType servletClass
protected JspFileType jspFile
protected ParamValueType[] initParam
protected String loadOnStartup
protected RunAsType runAs
protected SecurityRoleRefType[] securityRoleRef
protected String id
| Constructor Detail |
|---|
public ServletType()
net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ServletType instance.
public ServletType(ServletType o)
net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.javaee.ServletType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic DisplayNameType[] getDisplayName()
DisplayNameTypepublic DisplayNameType getDisplayName(int idx)
DisplayNameTypepublic int getDisplayNameLength()
public void setDisplayName(DisplayNameType[] values)
values - allowed objects are
DisplayNameType
public DisplayNameType setDisplayName(int idx,
DisplayNameType value)
value - allowed object is
DisplayNameTypepublic IconType[] getIcon()
IconTypepublic IconType getIcon(int idx)
IconTypepublic int getIconLength()
public void setIcon(IconType[] values)
values - allowed objects are
IconType
public IconType setIcon(int idx,
IconType value)
value - allowed object is
IconTypepublic 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 ParamValueType[] getInitParam()
ParamValueTypepublic ParamValueType getInitParam(int idx)
ParamValueTypepublic int getInitParamLength()
public void setInitParam(ParamValueType[] values)
values - allowed objects are
ParamValueType
public ParamValueType setInitParam(int idx,
ParamValueType value)
value - allowed object is
ParamValueTypepublic String getLoadOnStartup()
Stringpublic void setLoadOnStartup(String value)
value - allowed object is
Stringpublic RunAsType getRunAs()
RunAsTypepublic void setRunAs(RunAsType value)
value - allowed object is
RunAsTypepublic SecurityRoleRefType[] getSecurityRoleRef()
SecurityRoleRefTypepublic SecurityRoleRefType getSecurityRoleRef(int idx)
SecurityRoleRefTypepublic int getSecurityRoleRefLength()
public void setSecurityRoleRef(SecurityRoleRefType[] values)
values - allowed objects are
SecurityRoleRefType
public SecurityRoleRefType setSecurityRoleRef(int idx,
SecurityRoleRefType value)
value - allowed object is
SecurityRoleRefTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic ServletType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||