org.apache.geronimo.xbeans.web
Interface ServletType

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
ServletTypeImpl

public interface ServletType
extends org.apache.xmlbeans.XmlObject

An XML servletType(@http://java.sun.com/xml/ns/j2ee). This is a complex type.


Nested Class Summary
static class ServletType.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 DeploymentExtensionType addNewDeploymentExtension()
          Appends and returns a new empty value (as xml) as the last "deployment-extension" element
 DescriptionType addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 DisplayNameType addNewDisplayName()
          Appends and returns a new empty value (as xml) as the last "display-name" element
 IconType addNewIcon()
          Appends and returns a new empty value (as xml) as the last "icon" element
 ParamValueType addNewInitParam()
          Appends and returns a new empty value (as xml) as the last "init-param" element
 RunAsType addNewRunAs()
          Appends and returns a new empty "run-as" element
 SecurityRoleRefType addNewSecurityRoleRef()
          Appends and returns a new empty value (as xml) as the last "security-role-ref" element
 DeploymentExtensionType[] getDeploymentExtensionArray()
          Gets array of all "deployment-extension" elements
 DeploymentExtensionType getDeploymentExtensionArray(int i)
          Gets ith "deployment-extension" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 DisplayNameType[] getDisplayNameArray()
          Gets array of all "display-name" elements
 DisplayNameType getDisplayNameArray(int i)
          Gets ith "display-name" element
 IconType[] getIconArray()
          Gets array of all "icon" elements
 IconType getIconArray(int i)
          Gets ith "icon" element
 ParamValueType[] getInitParamArray()
          Gets array of all "init-param" elements
 ParamValueType getInitParamArray(int i)
          Gets ith "init-param" element
 String getJspFile()
          Gets the "jsp-file" element
 BigInteger getLoadOnStartup()
          Gets the "load-on-startup" element
 RunAsType getRunAs()
          Gets the "run-as" element
 SecurityRoleRefType[] getSecurityRoleRefArray()
          Gets array of all "security-role-ref" elements
 SecurityRoleRefType getSecurityRoleRefArray(int i)
          Gets ith "security-role-ref" element
 String getServletClass()
          Gets the "servlet-class" element
 String getServletName()
          Gets the "servlet-name" element
 DeploymentExtensionType insertNewDeploymentExtension(int i)
          Inserts and returns a new empty value (as xml) as the ith "deployment-extension" element
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 DisplayNameType insertNewDisplayName(int i)
          Inserts and returns a new empty value (as xml) as the ith "display-name" element
 IconType insertNewIcon(int i)
          Inserts and returns a new empty value (as xml) as the ith "icon" element
 ParamValueType insertNewInitParam(int i)
          Inserts and returns a new empty value (as xml) as the ith "init-param" element
 SecurityRoleRefType insertNewSecurityRoleRef(int i)
          Inserts and returns a new empty value (as xml) as the ith "security-role-ref" element
 boolean isSetJspFile()
          True if has "jsp-file" element
 boolean isSetLoadOnStartup()
          True if has "load-on-startup" element
 boolean isSetRunAs()
          True if has "run-as" element
 boolean isSetServletClass()
          True if has "servlet-class" element
 void removeDeploymentExtension(int i)
          Removes the ith "deployment-extension" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeDisplayName(int i)
          Removes the ith "display-name" element
 void removeIcon(int i)
          Removes the ith "icon" element
 void removeInitParam(int i)
          Removes the ith "init-param" element
 void removeSecurityRoleRef(int i)
          Removes the ith "security-role-ref" element
 void setDeploymentExtensionArray(DeploymentExtensionType[] deploymentExtensionArray)
          Sets array of all "deployment-extension" element
 void setDeploymentExtensionArray(int i, DeploymentExtensionType deploymentExtension)
          Sets ith "deployment-extension" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setDisplayNameArray(DisplayNameType[] displayNameArray)
          Sets array of all "display-name" element
 void setDisplayNameArray(int i, DisplayNameType displayName)
          Sets ith "display-name" element
 void setIconArray(IconType[] iconArray)
          Sets array of all "icon" element
 void setIconArray(int i, IconType icon)
          Sets ith "icon" element
 void setInitParamArray(int i, ParamValueType initParam)
          Sets ith "init-param" element
 void setInitParamArray(ParamValueType[] initParamArray)
          Sets array of all "init-param" element
 void setJspFile(String jspFile)
          Sets the "jsp-file" element
 void setLoadOnStartup(BigInteger loadOnStartup)
          Sets the "load-on-startup" element
 void setRunAs(RunAsType runAs)
          Sets the "run-as" element
 void setSecurityRoleRefArray(int i, SecurityRoleRefType securityRoleRef)
          Sets ith "security-role-ref" element
 void setSecurityRoleRefArray(SecurityRoleRefType[] securityRoleRefArray)
          Sets array of all "security-role-ref" element
 void setServletClass(String servletClass)
          Sets the "servlet-class" element
 void setServletName(String servletName)
          Sets the "servlet-name" element
 int sizeOfDeploymentExtensionArray()
          Returns number of "deployment-extension" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfDisplayNameArray()
          Returns number of "display-name" element
 int sizeOfIconArray()
          Returns number of "icon" element
 int sizeOfInitParamArray()
          Returns number of "init-param" element
 int sizeOfSecurityRoleRefArray()
          Returns number of "security-role-ref" element
 void unsetJspFile()
          Unsets the "jsp-file" element
 void unsetLoadOnStartup()
          Unsets the "load-on-startup" element
 void unsetRunAs()
          Unsets the "run-as" element
 void unsetServletClass()
          Unsets the "servlet-class" element
 JspFileType xgetJspFile()
          Gets (as xml) the "jsp-file" element
 org.apache.xmlbeans.XmlInteger xgetLoadOnStartup()
          Gets (as xml) the "load-on-startup" element
 FullyQualifiedClassType xgetServletClass()
          Gets (as xml) the "servlet-class" element
 ServletNameType xgetServletName()
          Gets (as xml) the "servlet-name" element
 void xsetJspFile(JspFileType jspFile)
          Sets (as xml) the "jsp-file" element
 void xsetLoadOnStartup(org.apache.xmlbeans.XmlInteger loadOnStartup)
          Sets (as xml) the "load-on-startup" element
 void xsetServletClass(FullyQualifiedClassType servletClass)
          Sets (as xml) the "servlet-class" element
 void xsetServletName(ServletNameType servletName)
          Sets (as xml) the "servlet-name" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final org.apache.xmlbeans.SchemaType type
Method Detail

getDescriptionArray

public DescriptionType[] getDescriptionArray()
Gets array of all "description" elements


getDescriptionArray

public DescriptionType getDescriptionArray(int i)
Gets ith "description" element


sizeOfDescriptionArray

public int sizeOfDescriptionArray()
Returns number of "description" element


setDescriptionArray

public void setDescriptionArray(DescriptionType[] descriptionArray)
Sets array of all "description" element


setDescriptionArray

public void setDescriptionArray(int i,
                                DescriptionType description)
Sets ith "description" element


insertNewDescription

public DescriptionType insertNewDescription(int i)
Inserts and returns a new empty value (as xml) as the ith "description" element


addNewDescription

public DescriptionType addNewDescription()
Appends and returns a new empty value (as xml) as the last "description" element


removeDescription

public void removeDescription(int i)
Removes the ith "description" element


getDisplayNameArray

public DisplayNameType[] getDisplayNameArray()
Gets array of all "display-name" elements


getDisplayNameArray

public DisplayNameType getDisplayNameArray(int i)
Gets ith "display-name" element


sizeOfDisplayNameArray

public int sizeOfDisplayNameArray()
Returns number of "display-name" element


setDisplayNameArray

public void setDisplayNameArray(DisplayNameType[] displayNameArray)
Sets array of all "display-name" element


setDisplayNameArray

public void setDisplayNameArray(int i,
                                DisplayNameType displayName)
Sets ith "display-name" element


insertNewDisplayName

public DisplayNameType insertNewDisplayName(int i)
Inserts and returns a new empty value (as xml) as the ith "display-name" element


addNewDisplayName

public DisplayNameType addNewDisplayName()
Appends and returns a new empty value (as xml) as the last "display-name" element


removeDisplayName

public void removeDisplayName(int i)
Removes the ith "display-name" element


getIconArray

public IconType[] getIconArray()
Gets array of all "icon" elements


getIconArray

public IconType getIconArray(int i)
Gets ith "icon" element


sizeOfIconArray

public int sizeOfIconArray()
Returns number of "icon" element


setIconArray

public void setIconArray(IconType[] iconArray)
Sets array of all "icon" element


setIconArray

public void setIconArray(int i,
                         IconType icon)
Sets ith "icon" element


insertNewIcon

public IconType insertNewIcon(int i)
Inserts and returns a new empty value (as xml) as the ith "icon" element


addNewIcon

public IconType addNewIcon()
Appends and returns a new empty value (as xml) as the last "icon" element


removeIcon

public void removeIcon(int i)
Removes the ith "icon" element


getServletName

public String getServletName()
Gets the "servlet-name" element


xgetServletName

public ServletNameType xgetServletName()
Gets (as xml) the "servlet-name" element


setServletName

public void setServletName(String servletName)
Sets the "servlet-name" element


xsetServletName

public void xsetServletName(ServletNameType servletName)
Sets (as xml) the "servlet-name" element


getServletClass

public String getServletClass()
Gets the "servlet-class" element


xgetServletClass

public FullyQualifiedClassType xgetServletClass()
Gets (as xml) the "servlet-class" element


isSetServletClass

public boolean isSetServletClass()
True if has "servlet-class" element


setServletClass

public void setServletClass(String servletClass)
Sets the "servlet-class" element


xsetServletClass

public void xsetServletClass(FullyQualifiedClassType servletClass)
Sets (as xml) the "servlet-class" element


unsetServletClass

public void unsetServletClass()
Unsets the "servlet-class" element


getJspFile

public String getJspFile()
Gets the "jsp-file" element


xgetJspFile

public JspFileType xgetJspFile()
Gets (as xml) the "jsp-file" element


isSetJspFile

public boolean isSetJspFile()
True if has "jsp-file" element


setJspFile

public void setJspFile(String jspFile)
Sets the "jsp-file" element


xsetJspFile

public void xsetJspFile(JspFileType jspFile)
Sets (as xml) the "jsp-file" element


unsetJspFile

public void unsetJspFile()
Unsets the "jsp-file" element


getInitParamArray

public ParamValueType[] getInitParamArray()
Gets array of all "init-param" elements


getInitParamArray

public ParamValueType getInitParamArray(int i)
Gets ith "init-param" element


sizeOfInitParamArray

public int sizeOfInitParamArray()
Returns number of "init-param" element


setInitParamArray

public void setInitParamArray(ParamValueType[] initParamArray)
Sets array of all "init-param" element


setInitParamArray

public void setInitParamArray(int i,
                              ParamValueType initParam)
Sets ith "init-param" element


insertNewInitParam

public ParamValueType insertNewInitParam(int i)
Inserts and returns a new empty value (as xml) as the ith "init-param" element


addNewInitParam

public ParamValueType addNewInitParam()
Appends and returns a new empty value (as xml) as the last "init-param" element


removeInitParam

public void removeInitParam(int i)
Removes the ith "init-param" element


getLoadOnStartup

public BigInteger getLoadOnStartup()
Gets the "load-on-startup" element


xgetLoadOnStartup

public org.apache.xmlbeans.XmlInteger xgetLoadOnStartup()
Gets (as xml) the "load-on-startup" element


isSetLoadOnStartup

public boolean isSetLoadOnStartup()
True if has "load-on-startup" element


setLoadOnStartup

public void setLoadOnStartup(BigInteger loadOnStartup)
Sets the "load-on-startup" element


xsetLoadOnStartup

public void xsetLoadOnStartup(org.apache.xmlbeans.XmlInteger loadOnStartup)
Sets (as xml) the "load-on-startup" element


unsetLoadOnStartup

public void unsetLoadOnStartup()
Unsets the "load-on-startup" element


getRunAs

public RunAsType getRunAs()
Gets the "run-as" element


isSetRunAs

public boolean isSetRunAs()
True if has "run-as" element


setRunAs

public void setRunAs(RunAsType runAs)
Sets the "run-as" element


addNewRunAs

public RunAsType addNewRunAs()
Appends and returns a new empty "run-as" element


unsetRunAs

public void unsetRunAs()
Unsets the "run-as" element


getSecurityRoleRefArray

public SecurityRoleRefType[] getSecurityRoleRefArray()
Gets array of all "security-role-ref" elements


getSecurityRoleRefArray

public SecurityRoleRefType getSecurityRoleRefArray(int i)
Gets ith "security-role-ref" element


sizeOfSecurityRoleRefArray

public int sizeOfSecurityRoleRefArray()
Returns number of "security-role-ref" element


setSecurityRoleRefArray

public void setSecurityRoleRefArray(SecurityRoleRefType[] securityRoleRefArray)
Sets array of all "security-role-ref" element


setSecurityRoleRefArray

public void setSecurityRoleRefArray(int i,
                                    SecurityRoleRefType securityRoleRef)
Sets ith "security-role-ref" element


insertNewSecurityRoleRef

public SecurityRoleRefType insertNewSecurityRoleRef(int i)
Inserts and returns a new empty value (as xml) as the ith "security-role-ref" element


addNewSecurityRoleRef

public SecurityRoleRefType addNewSecurityRoleRef()
Appends and returns a new empty value (as xml) as the last "security-role-ref" element


removeSecurityRoleRef

public void removeSecurityRoleRef(int i)
Removes the ith "security-role-ref" element


getDeploymentExtensionArray

public DeploymentExtensionType[] getDeploymentExtensionArray()
Gets array of all "deployment-extension" elements


getDeploymentExtensionArray

public DeploymentExtensionType getDeploymentExtensionArray(int i)
Gets ith "deployment-extension" element


sizeOfDeploymentExtensionArray

public int sizeOfDeploymentExtensionArray()
Returns number of "deployment-extension" element


setDeploymentExtensionArray

public void setDeploymentExtensionArray(DeploymentExtensionType[] deploymentExtensionArray)
Sets array of all "deployment-extension" element


setDeploymentExtensionArray

public void setDeploymentExtensionArray(int i,
                                        DeploymentExtensionType deploymentExtension)
Sets ith "deployment-extension" element


insertNewDeploymentExtension

public DeploymentExtensionType insertNewDeploymentExtension(int i)
Inserts and returns a new empty value (as xml) as the ith "deployment-extension" element


addNewDeploymentExtension

public DeploymentExtensionType addNewDeploymentExtension()
Appends and returns a new empty value (as xml) as the last "deployment-extension" element


removeDeploymentExtension

public void removeDeploymentExtension(int i)
Removes the ith "deployment-extension" element



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.