public interface ServletType<T> extends Child<T>, JavaeeServletCommonType<T,ServletType<T>,ParamValueType<ServletType<T>>,RunAsType<ServletType<T>>,SecurityRoleRefType<ServletType<T>>>
servletType
xsd typeModifier 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
objectsServletType
List<String> getAllDescription()
description
elementsdescription
ServletType<T> removeAllDescription()
description
elementServletType
ServletType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsServletType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
ServletType<T> removeAllDisplayName()
display-name
elementServletType
IconType<ServletType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<ServletType<T>> createIcon()
icon
elementIconType>
List<IconType<ServletType<T>>> getAllIcon()
icon
elementsicon
ServletType<T> removeAllIcon()
icon
elementsIconType>
ServletType<T> servletName(String servletName)
servlet-name
elementservletName
- the value for the element servlet-name
ServletType
String getServletName()
servlet-name
elementservlet-name
ServletType<T> removeServletName()
servlet-name
elementServletType
ServletType<T> servletClass(String servletClass)
servlet-class
elementservletClass
- the value for the element servlet-class
ServletType
String getServletClass()
servlet-class
elementservlet-class
ServletType<T> removeServletClass()
servlet-class
elementServletType
ServletType<T> jspFile(String jspFile)
jsp-file
elementjspFile
- the value for the element jsp-file
ServletType
String getJspFile()
jsp-file
elementjsp-file
ServletType<T> removeJspFile()
jsp-file
elementServletType
ParamValueType<ServletType<T>> getOrCreateInitParam()
init-param
element will be created and returned.
Otherwise, the first existing init-param
element will be returned.init-param
ParamValueType<ServletType<T>> createInitParam()
init-param
elementParamValueType>
List<ParamValueType<ServletType<T>>> getAllInitParam()
init-param
elementsinit-param
ServletType<T> removeAllInitParam()
init-param
elementsParamValueType>
ServletType<T> loadOnStartup(Integer loadOnStartup)
load-on-startup
elementloadOnStartup
- the value for the element load-on-startup
ServletType
Integer getLoadOnStartup()
load-on-startup
elementload-on-startup
ServletType<T> removeLoadOnStartup()
load-on-startup
elementServletType
RunAsType<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
elementServletType
SecurityRoleRefType<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-ref
SecurityRoleRefType<ServletType<T>> createSecurityRoleRef()
security-role-ref
elementSecurityRoleRefType>
List<SecurityRoleRefType<ServletType<T>>> getAllSecurityRoleRef()
security-role-ref
elementssecurity-role-ref
ServletType<T> removeAllSecurityRoleRef()
security-role-ref
elementsSecurityRoleRefType>
ServletType<T> id(String id)
id
attributeid
- the value for the attribute id
ServletType
String getId()
id
attributeid
ServletType<T> removeId()
id
attributeServletType
Copyright © 2017 JBoss by Red Hat. All rights reserved.