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

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

public class WebAppType
extends Object

Java class for web-appType complex type.

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

 <complexType name="web-appType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <group ref="{http://java.sun.com/xml/ns/j2ee}descriptionGroup"/>
         <element name="distributable" type="{http://java.sun.com/xml/ns/j2ee}emptyType"/>
         <element name="context-param" type="{http://java.sun.com/xml/ns/j2ee}param-valueType"/>
         <element name="filter" type="{http://java.sun.com/xml/ns/j2ee}filterType"/>
         <element name="filter-mapping" type="{http://java.sun.com/xml/ns/j2ee}filter-mappingType"/>
         <element name="listener" type="{http://java.sun.com/xml/ns/j2ee}listenerType"/>
         <element name="servlet" type="{http://java.sun.com/xml/ns/j2ee}servletType"/>
         <element name="servlet-mapping" type="{http://java.sun.com/xml/ns/j2ee}servlet-mappingType"/>
         <element name="session-config" type="{http://java.sun.com/xml/ns/j2ee}session-configType"/>
         <element name="mime-mapping" type="{http://java.sun.com/xml/ns/j2ee}mime-mappingType"/>
         <element name="welcome-file-list" type="{http://java.sun.com/xml/ns/j2ee}welcome-file-listType"/>
         <element name="error-page" type="{http://java.sun.com/xml/ns/j2ee}error-pageType"/>
         <element name="jsp-config" type="{http://java.sun.com/xml/ns/j2ee}jsp-configType"/>
         <element name="security-constraint" type="{http://java.sun.com/xml/ns/j2ee}security-constraintType"/>
         <element name="login-config" type="{http://java.sun.com/xml/ns/j2ee}login-configType"/>
         <element name="security-role" type="{http://java.sun.com/xml/ns/j2ee}security-roleType"/>
         <group ref="{http://java.sun.com/xml/ns/j2ee}jndiEnvironmentRefsGroup"/>
         <element name="message-destination" type="{http://java.sun.com/xml/ns/j2ee}message-destinationType"/>
         <element name="locale-encoding-mapping-list" type="{http://java.sun.com/xml/ns/j2ee}locale-encoding-mapping-listType"/>
       </choice>
       <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/j2ee}web-app-versionType" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> descriptionAndDisplayNameAndIcon
           
protected  String id
           
protected  String version
           
 
Constructor Summary
WebAppType()
           
 
Method Summary
 List<Object> getDescriptionAndDisplayNameAndIcon()
          Gets the value of the descriptionAndDisplayNameAndIcon property.
 String getId()
          Gets the value of the id property.
 String getVersion()
          Gets the value of the version property.
 void setId(String value)
          Sets the value of the id property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptionAndDisplayNameAndIcon

protected List<Object> descriptionAndDisplayNameAndIcon

version

protected String version

id

protected String id
Constructor Detail

WebAppType

public WebAppType()
Method Detail

getDescriptionAndDisplayNameAndIcon

public List<Object> getDescriptionAndDisplayNameAndIcon()
Gets the value of the descriptionAndDisplayNameAndIcon property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the descriptionAndDisplayNameAndIcon property.

For example, to add a new item, do as follows:

    getDescriptionAndDisplayNameAndIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list DisplayNameType FilterType ResourceRefType ServletMappingType ParamValueType EmptyType JspConfigType ServiceRefType LocaleEncodingMappingListType ResourceEnvRefType DescriptionType SecurityConstraintType MessageDestinationRefType ListenerType EnvEntryType EjbLocalRefType MimeMappingType LoginConfigType IconType SessionConfigType ServletType MessageDestinationType FilterMappingType ErrorPageType EjbRefType WelcomeFileListType SecurityRoleType


getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

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.