Coverage Report - org.xmlhammer.model.jaxp.Attributes
 
Classes in this File Line Coverage Branch Coverage Complexity
Attributes
100% 
100% 
0
 
 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 attributes element declaration.
 22  
  * 
 23  
  * <p>The following schema fragment specifies the expected content contained within this class.
 24  
  * 
 25  
  * <pre>
 26  
  * &lt;element name="attributes">
 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}attribute"/>
 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  
     "attribute"
 44  
 })
 45  
 @XmlRootElement(name = "attributes")
 46  1892
 public class Attributes {
 47  
 
 48  
     @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
 49  
     protected List<Attribute> attribute;
 50  
 
 51  
     /**
 52  
      * Gets the value of the attribute 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 attribute property.
 59  
      * 
 60  
      * <p>
 61  
      * For example, to add a new item, do as follows:
 62  
      * <pre>
 63  
      *    getAttribute().add(newItem);
 64  
      * </pre>
 65  
      * 
 66  
      * 
 67  
      * <p>
 68  
      * Objects of the following type(s) are allowed in the list
 69  
      * {@link Attribute }
 70  
      * 
 71  
      * 
 72  
      */
 73  
     public List<Attribute> getAttribute() {
 74  2562
         if (attribute == null) {
 75  775
             attribute = new ArrayList<Attribute>();
 76  
         }
 77  2562
         return this.attribute;
 78  
     }
 79  
 
 80  
 }