org.xmlhammer.model.jaxp
Class Attributes

java.lang.Object
  extended by org.xmlhammer.model.jaxp.Attributes

public class Attributes
extends java.lang.Object

Java class for attributes element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="attributes">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.xmlhammer.org/2007/jaxp}attribute"/>
         </sequence>
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  java.util.List<Attribute> attribute
           
 
Constructor Summary
Attributes()
           
 
Method Summary
 java.util.List<Attribute> getAttribute()
          Gets the value of the attribute property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected java.util.List<Attribute> attribute
Constructor Detail

Attributes

public Attributes()
Method Detail

getAttribute

public java.util.List<Attribute> getAttribute()
Gets the value of the attribute property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attribute property.

For example, to add a new item, do as follows:

    getAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list Attribute



Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.