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 :2013-01-26T19:26:59.858+01: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 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
 
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

id

ErrorPageType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ErrorPageType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ErrorPageType<T> removeId()
Removes the id attribute

Returns:
the current instance of ErrorPageType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.