|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorPageType<T>
This interface defines the contract for the error-pageType
xsd type
Method Summary | |
---|---|
ErrorPageType<T> |
errorCode(Integer errorCode)
Sets the error-code element |
ErrorPageType<T> |
exceptionType(String exceptionType)
Sets the exception-type element |
Integer |
getErrorCode()
Returns the error-code element |
String |
getExceptionType()
Returns the exception-type element |
String |
getLocation()
Returns the location element |
ErrorPageType<T> |
location(String location)
Sets the location element |
ErrorPageType<T> |
removeErrorCode()
Removes the error-code element |
ErrorPageType<T> |
removeExceptionType()
Removes the exception-type element |
ErrorPageType<T> |
removeLocation()
Removes the location element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ErrorPageType<T> errorCode(Integer errorCode)
error-code
element
errorCode
- the value for the element error-code
ErrorPageType
Integer getErrorCode()
error-code
element
error-code
ErrorPageType<T> removeErrorCode()
error-code
element
ErrorPageType
ErrorPageType<T> exceptionType(String exceptionType)
exception-type
element
exceptionType
- the value for the element exception-type
ErrorPageType
String getExceptionType()
exception-type
element
exception-type
ErrorPageType<T> removeExceptionType()
exception-type
element
ErrorPageType
ErrorPageType<T> location(String location)
location
element
location
- the value for the element location
ErrorPageType
String getLocation()
location
element
location
ErrorPageType<T> removeLocation()
location
element
ErrorPageType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |