View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2013.05.27 at 06:54:03 PM EDT 
6   //
7   
8   
9   package org.apache.juddi.v3.client.mapping.wadl;
10  
11  import java.util.ArrayList;
12  import java.util.HashMap;
13  import java.util.List;
14  import java.util.Map;
15  import javax.xml.bind.annotation.XmlAccessType;
16  import javax.xml.bind.annotation.XmlAccessorType;
17  import javax.xml.bind.annotation.XmlAnyAttribute;
18  import javax.xml.bind.annotation.XmlAnyElement;
19  import javax.xml.bind.annotation.XmlAttribute;
20  import javax.xml.bind.annotation.XmlElement;
21  import javax.xml.bind.annotation.XmlRootElement;
22  import javax.xml.bind.annotation.XmlSchemaType;
23  import javax.xml.bind.annotation.XmlType;
24  import javax.xml.namespace.QName;
25  import org.w3c.dom.Element;
26  
27  
28  /**
29   * <p>Java class for anonymous complex type.
30   * 
31   * <p>The following schema fragment specifies the expected content contained within this class.
32   * 
33   * <pre>
34   * &lt;complexType>
35   *   &lt;complexContent>
36   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37   *       &lt;sequence>
38   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
39   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}resource" maxOccurs="unbounded"/>
40   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
41   *       &lt;/sequence>
42   *       &lt;attribute name="base" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
43   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
44   *     &lt;/restriction>
45   *   &lt;/complexContent>
46   * &lt;/complexType>
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "", propOrder = {
53      "doc",
54      "resource",
55      "any"
56  })
57  @XmlRootElement(name = "resources")
58  public class Resources {
59  
60      protected List<Doc> doc;
61      @XmlElement(required = true)
62      protected List<Resource> resource;
63      @XmlAnyElement(lax = true)
64      protected List<Object> any;
65      @XmlAttribute
66      @XmlSchemaType(name = "anyURI")
67      protected String base;
68      @XmlAnyAttribute
69      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
70  
71      /**
72       * Gets the value of the doc property.
73       * 
74       * <p>
75       * This accessor method returns a reference to the live list,
76       * not a snapshot. Therefore any modification you make to the
77       * returned list will be present inside the JAXB object.
78       * This is why there is not a <CODE>set</CODE> method for the doc property.
79       * 
80       * <p>
81       * For example, to add a new item, do as follows:
82       * <pre>
83       *    getDoc().add(newItem);
84       * </pre>
85       * 
86       * 
87       * <p>
88       * Objects of the following type(s) are allowed in the list
89       * {@link Doc }
90       * 
91       * 
92       */
93      public List<Doc> getDoc() {
94          if (doc == null) {
95              doc = new ArrayList<Doc>();
96          }
97          return this.doc;
98      }
99  
100     /**
101      * Gets the value of the resource property.
102      * 
103      * <p>
104      * This accessor method returns a reference to the live list,
105      * not a snapshot. Therefore any modification you make to the
106      * returned list will be present inside the JAXB object.
107      * This is why there is not a <CODE>set</CODE> method for the resource property.
108      * 
109      * <p>
110      * For example, to add a new item, do as follows:
111      * <pre>
112      *    getResource().add(newItem);
113      * </pre>
114      * 
115      * 
116      * <p>
117      * Objects of the following type(s) are allowed in the list
118      * {@link Resource }
119      * 
120      * 
121      */
122     public List<Resource> getResource() {
123         if (resource == null) {
124             resource = new ArrayList<Resource>();
125         }
126         return this.resource;
127     }
128 
129     /**
130      * Gets the value of the any property.
131      * 
132      * <p>
133      * This accessor method returns a reference to the live list,
134      * not a snapshot. Therefore any modification you make to the
135      * returned list will be present inside the JAXB object.
136      * This is why there is not a <CODE>set</CODE> method for the any property.
137      * 
138      * <p>
139      * For example, to add a new item, do as follows:
140      * <pre>
141      *    getAny().add(newItem);
142      * </pre>
143      * 
144      * 
145      * <p>
146      * Objects of the following type(s) are allowed in the list
147      * {@link Element }
148      * {@link Object }
149      * 
150      * 
151      */
152     public List<Object> getAny() {
153         if (any == null) {
154             any = new ArrayList<Object>();
155         }
156         return this.any;
157     }
158 
159     /**
160      * Gets the value of the base property.
161      * 
162      * @return
163      *     possible object is
164      *     {@link String }
165      *     
166      */
167     public String getBase() {
168         return base;
169     }
170 
171     /**
172      * Sets the value of the base property.
173      * 
174      * @param value
175      *     allowed object is
176      *     {@link String }
177      *     
178      */
179     public void setBase(String value) {
180         this.base = value;
181     }
182 
183     /**
184      * Gets a map that contains attributes that aren't bound to any typed property on this class.
185      * 
186      * <p>
187      * the map is keyed by the name of the attribute and 
188      * the value is the string value of the attribute.
189      * 
190      * the map returned by this method is live, and you can add new attribute
191      * by updating the map directly. Because of this design, there's no setter.
192      * 
193      * 
194      * @return
195      *     always non-null
196      */
197     public Map<QName, String> getOtherAttributes() {
198         return otherAttributes;
199     }
200 
201 }