org.eclipse.jst.j2ee.webapplication
Interface ServletMapping

All Superinterfaces:
J2EEEObject

public interface ServletMapping
extends J2EEEObject

The servlet-mapping element defines a mapping between a servlet and a url pattern

Since:
1.0

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Servlet getServlet()
           
 java.lang.String getUrlPattern()
           
 WebApp getWebApp()
           
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setServlet(Servlet value)
           
 void setUrlPattern(java.lang.String value)
           
 void setWebApp(WebApp value)
           
 

Method Detail

getUrlPattern

public java.lang.String getUrlPattern()
Returns:
The value of the UrlPattern attribute The url-pattern element contains the url pattern of the mapping. Must follow the rules specified in Section 10 of the Servlet API Specification.

setUrlPattern

public void setUrlPattern(java.lang.String value)
Parameters:
value - The new value of the UrlPattern attribute

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), WebapplicationPackage.getServletMapping_Name()

setName

public void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getWebApp

public WebApp getWebApp()
Returns:
The WebApp reference

setWebApp

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

getServlet

public Servlet getServlet()
Returns:
The Servlet reference

setServlet

public void setServlet(Servlet value)
Parameters:
value - The new value of the Servlet reference