ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface ErrorPageType<T>

All Superinterfaces:
Child<T>

public interface ErrorPageType<T>
extends Child<T>

This interface defines the contract for the error-pageType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

errorCode

ErrorPageType<T> errorCode(Integer errorCode)
Sets the error-code element

Parameters:
errorCode - the value for the element error-code
Returns:
the current instance of ErrorPageType

getErrorCode

Integer getErrorCode()
Returns the error-code element

Returns:
the node defined for the element error-code

removeErrorCode

ErrorPageType<T> removeErrorCode()
Removes the error-code element

Returns:
the current instance of ErrorPageType

exceptionType

ErrorPageType<T> exceptionType(String exceptionType)
Sets the exception-type element

Parameters:
exceptionType - the value for the element exception-type
Returns:
the current instance of ErrorPageType

getExceptionType

String getExceptionType()
Returns the exception-type element

Returns:
the node defined for the element exception-type

removeExceptionType

ErrorPageType<T> removeExceptionType()
Removes the exception-type element

Returns:
the current instance of ErrorPageType

location

ErrorPageType<T> location(String location)
Sets the location element

Parameters:
location - the value for the element location
Returns:
the current instance of ErrorPageType

getLocation

String getLocation()
Returns the location element

Returns:
the node defined for the element location

removeLocation

ErrorPageType<T> removeLocation()
Removes the location element

Returns:
the current instance of ErrorPageType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.