
public interface ServletType<T> extends Child<T>, JavaeeServletCommonType<T,ServletType<T>,ParamValueType<ServletType<T>>,RunAsType<ServletType<T>>,SecurityRoleRefType<ServletType<T>>>
servletType xsd type| Modifier and Type | Method and Description |
|---|---|
IconType<ServletType<T>> |
createIcon()
Creates a new
icon element |
ParamValueType<ServletType<T>> |
createInitParam()
Creates a new
init-param element |
SecurityRoleRefType<ServletType<T>> |
createSecurityRoleRef()
Creates a new
security-role-ref element |
ServletType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
ServletType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<ServletType<T>>> |
getAllIcon()
Returns all
icon elements |
List<ParamValueType<ServletType<T>>> |
getAllInitParam()
Returns all
init-param elements |
List<SecurityRoleRefType<ServletType<T>>> |
getAllSecurityRoleRef()
Returns all
security-role-ref elements |
String |
getId()
Returns the
id attribute |
String |
getJspFile()
Returns the
jsp-file element |
Integer |
getLoadOnStartup()
Returns the
load-on-startup element |
IconType<ServletType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
ParamValueType<ServletType<T>> |
getOrCreateInitParam()
If not already created, a new
init-param element will be created and returned. |
RunAsType<ServletType<T>> |
getOrCreateRunAs()
If not already created, a new
run-as element with the given value will be created. |
SecurityRoleRefType<ServletType<T>> |
getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
String |
getServletClass()
Returns the
servlet-class element |
String |
getServletName()
Returns the
servlet-name element |
ServletType<T> |
id(String id)
Sets the
id attribute |
ServletType<T> |
jspFile(String jspFile)
Sets the
jsp-file element |
ServletType<T> |
loadOnStartup(Integer loadOnStartup)
Sets the
load-on-startup element |
ServletType<T> |
removeAllDescription()
Removes the
description element |
ServletType<T> |
removeAllDisplayName()
Removes the
display-name element |
ServletType<T> |
removeAllIcon()
Removes all
icon elements |
ServletType<T> |
removeAllInitParam()
Removes all
init-param elements |
ServletType<T> |
removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
ServletType<T> |
removeId()
Removes the
id attribute |
ServletType<T> |
removeJspFile()
Removes the
jsp-file element |
ServletType<T> |
removeLoadOnStartup()
Removes the
load-on-startup element |
ServletType<T> |
removeRunAs()
Removes the
run-as element |
ServletType<T> |
removeServletClass()
Removes the
servlet-class element |
ServletType<T> |
removeServletName()
Removes the
servlet-name element |
ServletType<T> |
servletClass(String servletClass)
Sets the
servlet-class element |
ServletType<T> |
servletName(String servletName)
Sets the
servlet-name element |
ServletType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsServletTypeList<String> getAllDescription()
description elementsdescriptionServletType<T> removeAllDescription()
description elementServletTypeServletType<T> displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsServletTypeList<String> getAllDisplayName()
display-name elementsdisplay-nameServletType<T> removeAllDisplayName()
display-name elementServletTypeIconType<ServletType<T>> getOrCreateIcon()
icon element will be created and returned.
Otherwise, the first existing icon element will be returned.iconIconType<ServletType<T>> createIcon()
icon elementIconType> List<IconType<ServletType<T>>> getAllIcon()
icon elementsiconServletType<T> removeAllIcon()
icon elementsIconType> ServletType<T> servletName(String servletName)
servlet-name elementservletName - the value for the element servlet-nameServletTypeString getServletName()
servlet-name elementservlet-nameServletType<T> removeServletName()
servlet-name elementServletTypeServletType<T> servletClass(String servletClass)
servlet-class elementservletClass - the value for the element servlet-classServletTypeString getServletClass()
servlet-class elementservlet-classServletType<T> removeServletClass()
servlet-class elementServletTypeServletType<T> jspFile(String jspFile)
jsp-file elementjspFile - the value for the element jsp-fileServletTypeString getJspFile()
jsp-file elementjsp-fileServletType<T> removeJspFile()
jsp-file elementServletTypeParamValueType<ServletType<T>> getOrCreateInitParam()
init-param element will be created and returned.
Otherwise, the first existing init-param element will be returned.init-paramParamValueType<ServletType<T>> createInitParam()
init-param elementParamValueType> List<ParamValueType<ServletType<T>>> getAllInitParam()
init-param elementsinit-paramServletType<T> removeAllInitParam()
init-param elementsParamValueType> ServletType<T> loadOnStartup(Integer loadOnStartup)
load-on-startup elementloadOnStartup - the value for the element load-on-startupServletTypeInteger getLoadOnStartup()
load-on-startup elementload-on-startupServletType<T> removeLoadOnStartup()
load-on-startup elementServletTypeRunAsType<ServletType<T>> getOrCreateRunAs()
run-as element with the given value will be created.
Otherwise, the existing run-as element will be returned.RunAsType> ServletType<T> removeRunAs()
run-as elementServletTypeSecurityRoleRefType<ServletType<T>> getOrCreateSecurityRoleRef()
security-role-ref element will be created and returned.
Otherwise, the first existing security-role-ref element will be returned.security-role-refSecurityRoleRefType<ServletType<T>> createSecurityRoleRef()
security-role-ref elementSecurityRoleRefType> List<SecurityRoleRefType<ServletType<T>>> getAllSecurityRoleRef()
security-role-ref elementssecurity-role-refServletType<T> removeAllSecurityRoleRef()
security-role-ref elementsSecurityRoleRefType> ServletType<T> id(String id)
id attributeid - the value for the attribute idServletTypeString getId()
id attributeidServletType<T> removeId()
id attributeServletTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.