net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee
Interface ServletMappingType

All Known Implementing Classes:
ServletMappingTypeImpl

public interface ServletMappingType

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/javaee}servlet-nameType"/>
         <element name="url-pattern" type="{http://java.sun.com/xml/ns/javaee}url-patternType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getId()
          Gets the value of the id property.
 ServletNameType getServletName()
          Gets the value of the servletName property.
 UrlPatternType[] getUrlPattern()
           
 UrlPatternType getUrlPattern(int idx)
           
 int getUrlPatternLength()
           
 void setId(String value)
          Sets the value of the id property.
 void setServletName(ServletNameType value)
          Sets the value of the servletName property.
 UrlPatternType setUrlPattern(int idx, UrlPatternType value)
           
 void setUrlPattern(UrlPatternType[] values)
           
 

Method Detail

getServletName

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

Returns:
possible object is ServletNameType

setServletName

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

Parameters:
value - allowed object is ServletNameType

getUrlPattern

UrlPatternType[] getUrlPattern()
Returns:
array of UrlPatternType

getUrlPattern

UrlPatternType getUrlPattern(int idx)
Returns:
one of UrlPatternType

getUrlPatternLength

int getUrlPatternLength()

setUrlPattern

void setUrlPattern(UrlPatternType[] values)
Parameters:
values - allowed objects are UrlPatternType

setUrlPattern

UrlPatternType setUrlPattern(int idx,
                             UrlPatternType value)
Parameters:
value - allowed object is UrlPatternType

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.