com.sun.grizzly.http.webxml.schema.version_2_4
Class ServletMappingType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_2_4.ServletMappingType

public class ServletMappingType
extends Object

The servlet-mappingType defines a mapping between a servlet and a url pattern. Used in: web-app

Java class for servlet-mappingType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="servlet-mappingType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="servlet-name" type="{http://java.sun.com/xml/ns/j2ee}servlet-nameType"/>
         <element name="url-pattern" type="{http://java.sun.com/xml/ns/j2ee}url-patternType"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  ServletNameType servletName
           
protected  UrlPatternType urlPattern
           
 
Constructor Summary
ServletMappingType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 ServletNameType getServletName()
          Gets the value of the servletName property.
 UrlPatternType getUrlPattern()
          Gets the value of the urlPattern property.
 void setId(String value)
          Sets the value of the id property.
 void setServletName(ServletNameType value)
          Sets the value of the servletName property.
 void setUrlPattern(UrlPatternType value)
          Sets the value of the urlPattern property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletName

protected ServletNameType servletName

urlPattern

protected UrlPatternType urlPattern

id

protected String id
Constructor Detail

ServletMappingType

public ServletMappingType()
Method Detail

getServletName

public ServletNameType getServletName()
Gets the value of the servletName property.

Returns:
possible object is ServletNameType

setServletName

public void setServletName(ServletNameType value)
Sets the value of the servletName property.

Parameters:
value - allowed object is ServletNameType

getUrlPattern

public UrlPatternType getUrlPattern()
Gets the value of the urlPattern property.

Returns:
possible object is UrlPatternType

setUrlPattern

public void setUrlPattern(UrlPatternType value)
Sets the value of the urlPattern property.

Parameters:
value - allowed object is UrlPatternType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012 Oracle Corporation. All Rights Reserved.