org.apache.geronimo.xbeans.web
Interface WebResourceCollectionType

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
WebResourceCollectionTypeImpl

public interface WebResourceCollectionType
extends org.apache.xmlbeans.XmlObject

An XML web-resource-collectionType(@http://java.sun.com/xml/ns/j2ee). This is a complex type.


Nested Class Summary
static class WebResourceCollectionType.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 void addHttpMethod(HttpMethodType.Enum httpMethod)
          Appends the value as the last "http-method" element
 DescriptionType addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 void addUrlPattern(String urlPattern)
          Appends the value as the last "url-pattern" element
 DescriptionType[] getDescriptionArray()
          Gets array of all "description" elements
 DescriptionType getDescriptionArray(int i)
          Gets ith "description" element
 HttpMethodType.Enum[] getHttpMethodArray()
          Gets array of all "http-method" elements
 HttpMethodType.Enum getHttpMethodArray(int i)
          Gets ith "http-method" element
 String[] getUrlPatternArray()
          Gets array of all "url-pattern" elements
 String getUrlPatternArray(int i)
          Gets ith "url-pattern" element
 String getWebResourceName()
          Gets the "web-resource-name" element
 void insertHttpMethod(int i, HttpMethodType.Enum httpMethod)
          Inserts the value as the ith "http-method" element
 DescriptionType insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 void insertUrlPattern(int i, String urlPattern)
          Inserts the value as the ith "url-pattern" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeHttpMethod(int i)
          Removes the ith "http-method" element
 void removeUrlPattern(int i)
          Removes the ith "url-pattern" element
 void setDescriptionArray(DescriptionType[] descriptionArray)
          Sets array of all "description" element
 void setDescriptionArray(int i, DescriptionType description)
          Sets ith "description" element
 void setHttpMethodArray(HttpMethodType.Enum[] httpMethodArray)
          Sets array of all "http-method" element
 void setHttpMethodArray(int i, HttpMethodType.Enum httpMethod)
          Sets ith "http-method" element
 void setUrlPatternArray(int i, String urlPattern)
          Sets ith "url-pattern" element
 void setUrlPatternArray(String[] urlPatternArray)
          Sets array of all "url-pattern" element
 void setWebResourceName(String webResourceName)
          Sets the "web-resource-name" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfHttpMethodArray()
          Returns number of "http-method" element
 int sizeOfUrlPatternArray()
          Returns number of "url-pattern" element
 HttpMethodType[] xgetHttpMethodArray()
          Gets (as xml) array of all "http-method" elements
 HttpMethodType xgetHttpMethodArray(int i)
          Gets (as xml) ith "http-method" element
 UrlPatternType[] xgetUrlPatternArray()
          Gets (as xml) array of all "url-pattern" elements
 UrlPatternType xgetUrlPatternArray(int i)
          Gets (as xml) ith "url-pattern" element
 String xgetWebResourceName()
          Gets (as xml) the "web-resource-name" element
 void xsetHttpMethodArray(HttpMethodType[] httpMethodArray)
          Sets (as xml) array of all "http-method" element
 void xsetHttpMethodArray(int i, HttpMethodType httpMethod)
          Sets (as xml) ith "http-method" element
 void xsetUrlPatternArray(int i, UrlPatternType urlPattern)
          Sets (as xml) ith "url-pattern" element
 void xsetUrlPatternArray(UrlPatternType[] urlPatternArray)
          Sets (as xml) array of all "url-pattern" element
 void xsetWebResourceName(String webResourceName)
          Sets (as xml) the "web-resource-name" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final org.apache.xmlbeans.SchemaType type
Method Detail

getWebResourceName

public String getWebResourceName()
Gets the "web-resource-name" element


xgetWebResourceName

public String xgetWebResourceName()
Gets (as xml) the "web-resource-name" element


setWebResourceName

public void setWebResourceName(String webResourceName)
Sets the "web-resource-name" element


xsetWebResourceName

public void xsetWebResourceName(String webResourceName)
Sets (as xml) the "web-resource-name" element


getDescriptionArray

public DescriptionType[] getDescriptionArray()
Gets array of all "description" elements


getDescriptionArray

public DescriptionType getDescriptionArray(int i)
Gets ith "description" element


sizeOfDescriptionArray

public int sizeOfDescriptionArray()
Returns number of "description" element


setDescriptionArray

public void setDescriptionArray(DescriptionType[] descriptionArray)
Sets array of all "description" element


setDescriptionArray

public void setDescriptionArray(int i,
                                DescriptionType description)
Sets ith "description" element


insertNewDescription

public DescriptionType insertNewDescription(int i)
Inserts and returns a new empty value (as xml) as the ith "description" element


addNewDescription

public DescriptionType addNewDescription()
Appends and returns a new empty value (as xml) as the last "description" element


removeDescription

public void removeDescription(int i)
Removes the ith "description" element


getUrlPatternArray

public String[] getUrlPatternArray()
Gets array of all "url-pattern" elements


getUrlPatternArray

public String getUrlPatternArray(int i)
Gets ith "url-pattern" element


xgetUrlPatternArray

public UrlPatternType[] xgetUrlPatternArray()
Gets (as xml) array of all "url-pattern" elements


xgetUrlPatternArray

public UrlPatternType xgetUrlPatternArray(int i)
Gets (as xml) ith "url-pattern" element


sizeOfUrlPatternArray

public int sizeOfUrlPatternArray()
Returns number of "url-pattern" element


setUrlPatternArray

public void setUrlPatternArray(String[] urlPatternArray)
Sets array of all "url-pattern" element


setUrlPatternArray

public void setUrlPatternArray(int i,
                               String urlPattern)
Sets ith "url-pattern" element


xsetUrlPatternArray

public void xsetUrlPatternArray(UrlPatternType[] urlPatternArray)
Sets (as xml) array of all "url-pattern" element


xsetUrlPatternArray

public void xsetUrlPatternArray(int i,
                                UrlPatternType urlPattern)
Sets (as xml) ith "url-pattern" element


insertUrlPattern

public void insertUrlPattern(int i,
                             String urlPattern)
Inserts the value as the ith "url-pattern" element


addUrlPattern

public void addUrlPattern(String urlPattern)
Appends the value as the last "url-pattern" element


removeUrlPattern

public void removeUrlPattern(int i)
Removes the ith "url-pattern" element


getHttpMethodArray

public HttpMethodType.Enum[] getHttpMethodArray()
Gets array of all "http-method" elements


getHttpMethodArray

public HttpMethodType.Enum getHttpMethodArray(int i)
Gets ith "http-method" element


xgetHttpMethodArray

public HttpMethodType[] xgetHttpMethodArray()
Gets (as xml) array of all "http-method" elements


xgetHttpMethodArray

public HttpMethodType xgetHttpMethodArray(int i)
Gets (as xml) ith "http-method" element


sizeOfHttpMethodArray

public int sizeOfHttpMethodArray()
Returns number of "http-method" element


setHttpMethodArray

public void setHttpMethodArray(HttpMethodType.Enum[] httpMethodArray)
Sets array of all "http-method" element


setHttpMethodArray

public void setHttpMethodArray(int i,
                               HttpMethodType.Enum httpMethod)
Sets ith "http-method" element


xsetHttpMethodArray

public void xsetHttpMethodArray(HttpMethodType[] httpMethodArray)
Sets (as xml) array of all "http-method" element


xsetHttpMethodArray

public void xsetHttpMethodArray(int i,
                                HttpMethodType httpMethod)
Sets (as xml) ith "http-method" element


insertHttpMethod

public void insertHttpMethod(int i,
                             HttpMethodType.Enum httpMethod)
Inserts the value as the ith "http-method" element


addHttpMethod

public void addHttpMethod(HttpMethodType.Enum httpMethod)
Appends the value as the last "http-method" element


removeHttpMethod

public void removeHttpMethod(int i)
Removes the ith "http-method" element



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.