public interface ErrorPageType<T> extends Child<T>, JavaeeErrorPageCommonType<T,ErrorPageType<T>>
error-pageType
xsd typeModifier and Type | Method and Description |
---|---|
ErrorPageType<T> |
errorCode(String errorCode)
Sets the
error-code element |
ErrorPageType<T> |
exceptionType(String exceptionType)
Sets the
exception-type element |
String |
getErrorCode()
Returns the
error-code element |
String |
getExceptionType()
Returns the
exception-type element |
String |
getId()
Returns the
id attribute |
String |
getLocation()
Returns the
location element |
ErrorPageType<T> |
id(String id)
Sets the
id attribute |
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> |
removeId()
Removes the
id attribute |
ErrorPageType<T> |
removeLocation()
Removes the
location element |
ErrorPageType<T> errorCode(String errorCode)
error-code
elementerrorCode
- the value for the element error-code
ErrorPageType
String getErrorCode()
error-code
elementerror-code
ErrorPageType<T> removeErrorCode()
error-code
elementErrorPageType
ErrorPageType<T> exceptionType(String exceptionType)
exception-type
elementexceptionType
- the value for the element exception-type
ErrorPageType
String getExceptionType()
exception-type
elementexception-type
ErrorPageType<T> removeExceptionType()
exception-type
elementErrorPageType
ErrorPageType<T> location(String location)
location
elementlocation
- the value for the element location
ErrorPageType
String getLocation()
location
elementlocation
ErrorPageType<T> removeLocation()
location
elementErrorPageType
ErrorPageType<T> id(String id)
id
attributeid
- the value for the attribute id
ErrorPageType
String getId()
id
attributeid
ErrorPageType<T> removeId()
id
attributeErrorPageType
Copyright © 2020 JBoss by Red Hat. All rights reserved.