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.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAnyElement;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlType;
18  import org.w3c.dom.Element;
19  
20  
21  /**
22   * <p>Java class for anonymous complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType>
28   *   &lt;complexContent>
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30   *       &lt;sequence>
31   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
32   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}include" maxOccurs="unbounded" minOccurs="0"/>
33   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
34   *       &lt;/sequence>
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "doc",
45      "include",
46      "any"
47  })
48  @XmlRootElement(name = "grammars")
49  public class Grammars {
50  
51      protected List<Doc> doc;
52      protected List<Include> include;
53      @XmlAnyElement(lax = true)
54      protected List<Object> any;
55  
56      /**
57       * Gets the value of the doc property.
58       * 
59       * <p>
60       * This accessor method returns a reference to the live list,
61       * not a snapshot. Therefore any modification you make to the
62       * returned list will be present inside the JAXB object.
63       * This is why there is not a <CODE>set</CODE> method for the doc property.
64       * 
65       * <p>
66       * For example, to add a new item, do as follows:
67       * <pre>
68       *    getDoc().add(newItem);
69       * </pre>
70       * 
71       * 
72       * <p>
73       * Objects of the following type(s) are allowed in the list
74       * {@link Doc }
75       * 
76       * 
77       */
78      public List<Doc> getDoc() {
79          if (doc == null) {
80              doc = new ArrayList<Doc>();
81          }
82          return this.doc;
83      }
84  
85      /**
86       * Gets the value of the include property.
87       * 
88       * <p>
89       * This accessor method returns a reference to the live list,
90       * not a snapshot. Therefore any modification you make to the
91       * returned list will be present inside the JAXB object.
92       * This is why there is not a <CODE>set</CODE> method for the include property.
93       * 
94       * <p>
95       * For example, to add a new item, do as follows:
96       * <pre>
97       *    getInclude().add(newItem);
98       * </pre>
99       * 
100      * 
101      * <p>
102      * Objects of the following type(s) are allowed in the list
103      * {@link Include }
104      * 
105      * 
106      */
107     public List<Include> getInclude() {
108         if (include == null) {
109             include = new ArrayList<Include>();
110         }
111         return this.include;
112     }
113 
114     /**
115      * Gets the value of the any property.
116      * 
117      * <p>
118      * This accessor method returns a reference to the live list,
119      * not a snapshot. Therefore any modification you make to the
120      * returned list will be present inside the JAXB object.
121      * This is why there is not a <CODE>set</CODE> method for the any property.
122      * 
123      * <p>
124      * For example, to add a new item, do as follows:
125      * <pre>
126      *    getAny().add(newItem);
127      * </pre>
128      * 
129      * 
130      * <p>
131      * Objects of the following type(s) are allowed in the list
132      * {@link Element }
133      * {@link Object }
134      * 
135      * 
136      */
137     public List<Object> getAny() {
138         if (any == null) {
139             any = new ArrayList<Object>();
140         }
141         return this.any;
142     }
143 
144 }