|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletType<T>
This interface defines the contract for the servletType
xsd type
Method Summary | |
---|---|
ServletType<T> |
asyncSupported(Boolean asyncSupported)
Sets the async-supported element |
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 |
ServletType<T> |
enabled(Boolean enabled)
Sets the enabled 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. |
MultipartConfigType<ServletType<T>> |
getOrCreateMultipartConfig()
If not already created, a new multipart-config element with the given value will be created. |
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 |
Boolean |
isAsyncSupported()
Returns the async-supported element |
Boolean |
isEnabled()
Returns the enabled element |
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> |
removeAsyncSupported()
Removes the async-supported element |
ServletType<T> |
removeEnabled()
Removes the enabled element |
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> |
removeMultipartConfig()
Removes the multipart-config 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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ServletType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ServletType
List<String> getAllDescription()
description
elements
description
ServletType<T> removeAllDescription()
description
element
ServletType
ServletType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
ServletType
List<String> getAllDisplayName()
display-name
elements
display-name
ServletType<T> removeAllDisplayName()
display-name
element
ServletType
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
element
IconType>
List<IconType<ServletType<T>>> getAllIcon()
icon
elements
icon
ServletType<T> removeAllIcon()
icon
elements
IconType>
ServletType<T> servletName(String servletName)
servlet-name
element
servletName
- the value for the element servlet-name
ServletType
String getServletName()
servlet-name
element
servlet-name
ServletType<T> removeServletName()
servlet-name
element
ServletType
ServletType<T> servletClass(String servletClass)
servlet-class
element
servletClass
- the value for the element servlet-class
ServletType
String getServletClass()
servlet-class
element
servlet-class
ServletType<T> removeServletClass()
servlet-class
element
ServletType
ServletType<T> jspFile(String jspFile)
jsp-file
element
jspFile
- the value for the element jsp-file
ServletType
String getJspFile()
jsp-file
element
jsp-file
ServletType<T> removeJspFile()
jsp-file
element
ServletType
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
element
ParamValueType>
List<ParamValueType<ServletType<T>>> getAllInitParam()
init-param
elements
init-param
ServletType<T> removeAllInitParam()
init-param
elements
ParamValueType>
ServletType<T> loadOnStartup(Integer loadOnStartup)
load-on-startup
element
loadOnStartup
- the value for the element load-on-startup
ServletType
Integer getLoadOnStartup()
load-on-startup
element
load-on-startup
ServletType<T> removeLoadOnStartup()
load-on-startup
element
ServletType
ServletType<T> enabled(Boolean enabled)
enabled
element
enabled
- the value for the element enabled
ServletType
Boolean isEnabled()
enabled
element
enabled
ServletType<T> removeEnabled()
enabled
element
ServletType
ServletType<T> asyncSupported(Boolean asyncSupported)
async-supported
element
asyncSupported
- the value for the element async-supported
ServletType
Boolean isAsyncSupported()
async-supported
element
async-supported
ServletType<T> removeAsyncSupported()
async-supported
element
ServletType
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
element
ServletType
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
element
SecurityRoleRefType>
List<SecurityRoleRefType<ServletType<T>>> getAllSecurityRoleRef()
security-role-ref
elements
security-role-ref
ServletType<T> removeAllSecurityRoleRef()
security-role-ref
elements
SecurityRoleRefType>
MultipartConfigType<ServletType<T>> getOrCreateMultipartConfig()
multipart-config
element with the given value will be created.
Otherwise, the existing multipart-config
element will be returned.
MultipartConfigType>
ServletType<T> removeMultipartConfig()
multipart-config
element
ServletType
ServletType<T> id(String id)
id
attribute
id
- the value for the attribute id
ServletType
String getId()
id
attribute
id
ServletType<T> removeId()
id
attribute
ServletType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |