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.XmlAttribute;
19  import javax.xml.bind.annotation.XmlRootElement;
20  import javax.xml.bind.annotation.XmlSchemaType;
21  import javax.xml.bind.annotation.XmlType;
22  import javax.xml.namespace.QName;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType>
32   *   &lt;complexContent>
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34   *       &lt;sequence>
35   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
36   *       &lt;/sequence>
37   *       &lt;attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
38   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
39   *     &lt;/restriction>
40   *   &lt;/complexContent>
41   * &lt;/complexType>
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "", propOrder = {
48      "doc"
49  })
50  @XmlRootElement(name = "include")
51  public class Include {
52  
53      protected List<Doc> doc;
54      @XmlAttribute
55      @XmlSchemaType(name = "anyURI")
56      protected String href;
57      @XmlAnyAttribute
58      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
59  
60      /**
61       * Gets the value of the doc property.
62       * 
63       * <p>
64       * This accessor method returns a reference to the live list,
65       * not a snapshot. Therefore any modification you make to the
66       * returned list will be present inside the JAXB object.
67       * This is why there is not a <CODE>set</CODE> method for the doc property.
68       * 
69       * <p>
70       * For example, to add a new item, do as follows:
71       * <pre>
72       *    getDoc().add(newItem);
73       * </pre>
74       * 
75       * 
76       * <p>
77       * Objects of the following type(s) are allowed in the list
78       * {@link Doc }
79       * 
80       * 
81       */
82      public List<Doc> getDoc() {
83          if (doc == null) {
84              doc = new ArrayList<Doc>();
85          }
86          return this.doc;
87      }
88  
89      /**
90       * Gets the value of the href property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link String }
95       *     
96       */
97      public String getHref() {
98          return href;
99      }
100 
101     /**
102      * Sets the value of the href property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link String }
107      *     
108      */
109     public void setHref(String value) {
110         this.href = value;
111     }
112 
113     /**
114      * Gets a map that contains attributes that aren't bound to any typed property on this class.
115      * 
116      * <p>
117      * the map is keyed by the name of the attribute and 
118      * the value is the string value of the attribute.
119      * 
120      * the map returned by this method is live, and you can add new attribute
121      * by updating the map directly. Because of this design, there's no setter.
122      * 
123      * 
124      * @return
125      *     always non-null
126      */
127     public Map<QName, String> getOtherAttributes() {
128         return otherAttributes;
129     }
130 
131 }