|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.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.prot.indexed.valueclass.javaee.ServletType instance. |
|
ServletType(ServletType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.ServletType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
ServletType |
clone()
Creates and returns a copy of this object. |
protected void |
copyDescription(DescriptionType[] source)
Copies all values of property Description. |
protected void |
copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName. |
protected void |
copyIcon(IconType[] source)
Copies all values of property Icon. |
protected void |
copyInitParam(ParamValueType[] source)
Copies all values of property InitParam. |
protected void |
copySecurityRoleRef(SecurityRoleRefType[] source)
Copies all values of property SecurityRoleRef. |
DescriptionType[] |
getDescription()
|
DescriptionType |
getDescription(int idx)
|
int |
getDescriptionLength()
|
DisplayNameType[] |
getDisplayName()
|
DisplayNameType |
getDisplayName(int idx)
|
int |
getDisplayNameLength()
|
IconType[] |
getIcon()
|
IconType |
getIcon(int idx)
|
int |
getIconLength()
|
String |
getId()
Gets the value of the id property. |
ParamValueType[] |
getInitParam()
|
ParamValueType |
getInitParam(int idx)
|
int |
getInitParamLength()
|
JspFileType |
getJspFile()
Gets the value of the jspFile property. |
String |
getLoadOnStartup()
Gets the value of the loadOnStartup property. |
RunAsType |
getRunAs()
Gets the value of the runAs property. |
SecurityRoleRefType[] |
getSecurityRoleRef()
|
SecurityRoleRefType |
getSecurityRoleRef(int idx)
|
int |
getSecurityRoleRefLength()
|
FullyQualifiedClassType |
getServletClass()
Gets the value of the servletClass property. |
ServletNameType |
getServletName()
Gets the value of the servletName property. |
void |
setDescription(DescriptionType[] values)
|
DescriptionType |
setDescription(int idx,
DescriptionType value)
|
void |
setDisplayName(DisplayNameType[] values)
|
DisplayNameType |
setDisplayName(int idx,
DisplayNameType value)
|
void |
setIcon(IconType[] values)
|
IconType |
setIcon(int idx,
IconType value)
|
void |
setId(String value)
Sets the value of the id property. |
ParamValueType |
setInitParam(int idx,
ParamValueType value)
|
void |
setInitParam(ParamValueType[] values)
|
void |
setJspFile(JspFileType value)
Sets the value of the jspFile property. |
void |
setLoadOnStartup(String value)
Sets the value of the loadOnStartup property. |
void |
setRunAs(RunAsType value)
Sets the value of the runAs property. |
SecurityRoleRefType |
setSecurityRoleRef(int idx,
SecurityRoleRefType value)
|
void |
setSecurityRoleRef(SecurityRoleRefType[] values)
|
void |
setServletClass(FullyQualifiedClassType value)
Sets the value of the servletClass property. |
void |
setServletName(ServletNameType value)
Sets the value of the servletName property. |
| 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.prot.indexed.valueclass.javaee.ServletType instance.
public ServletType(ServletType o)
net.sourceforge.ccxjc.it.model.prot.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
Stringprotected void copyDescription(DescriptionType[] source)
Description.
source - The source to copy from.
NullPointerException - if source is null.protected void copyDisplayName(DisplayNameType[] source)
DisplayName.
source - The source to copy from.
NullPointerException - if source is null.protected void copyIcon(IconType[] source)
Icon.
source - The source to copy from.
NullPointerException - if source is null.protected void copyInitParam(ParamValueType[] source)
InitParam.
source - The source to copy from.
NullPointerException - if source is null.protected void copySecurityRoleRef(SecurityRoleRefType[] source)
SecurityRoleRef.
source - The source to copy from.
NullPointerException - if source is null.public ServletType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||