View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
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: 2007.09.26 at 09:37:45 PM IST 
6   //
7   
8   
9   package org.xmlhammer.model.jaxp;
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.XmlElement;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlType;
18  
19  
20  /***
21   * <p>Java class for features element declaration.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;element name="features">
27   *   &lt;complexType>
28   *     &lt;complexContent>
29   *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30   *         &lt;sequence maxOccurs="unbounded" minOccurs="0">
31   *           &lt;element ref="{http://www.xmlhammer.org/2007/jaxp}feature"/>
32   *         &lt;/sequence>
33   *       &lt;/restriction>
34   *     &lt;/complexContent>
35   *   &lt;/complexType>
36   * &lt;/element>
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "", propOrder = {
43      "feature"
44  })
45  @XmlRootElement(name = "features")
46  public class Features {
47  
48      @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
49      protected List<Feature> feature;
50  
51      /***
52       * Gets the value of the feature property.
53       * 
54       * <p>
55       * This accessor method returns a reference to the live list,
56       * not a snapshot. Therefore any modification you make to the
57       * returned list will be present inside the JAXB object.
58       * This is why there is not a <CODE>set</CODE> method for the feature property.
59       * 
60       * <p>
61       * For example, to add a new item, do as follows:
62       * <pre>
63       *    getFeature().add(newItem);
64       * </pre>
65       * 
66       * 
67       * <p>
68       * Objects of the following type(s) are allowed in the list
69       * {@link Feature }
70       * 
71       * 
72       */
73      public List<Feature> getFeature() {
74          if (feature == null) {
75              feature = new ArrayList<Feature>();
76          }
77          return this.feature;
78      }
79  
80  }