org.eclipse.jst.j2ee.webapplication
Interface ErrorPage

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ErrorCodeErrorPage, ExceptionTypeErrorPage

public interface ErrorPage
extends J2EEEObject

The error-page element contains a mapping between an error code or exception type to the path of a resource in the web application


Method Summary
 java.lang.String getLocation()
           
 WebApp getWebApp()
           
 boolean isErrorCode()
           
 boolean isExceptionType()
           
 void setLocation(java.lang.String value)
           
 void setWebApp(WebApp value)
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isErrorCode

boolean isErrorCode()

isExceptionType

boolean isExceptionType()

getLocation

java.lang.String getLocation()
Returns:
The value of the Location attribute The location element contains the location of the resource in the web application

setLocation

void setLocation(java.lang.String value)
Parameters:
value - The new value of the Location attribute

getWebApp

WebApp getWebApp()
Returns:
The WebApp reference

setWebApp

void setWebApp(WebApp value)
Parameters:
l - The new value of the WebApp reference