info.textgrid._import
Class ElementSpec

java.lang.Object
  extended by info.textgrid._import.NodeRewriteSpec
      extended by info.textgrid._import.ElementSpec

public class ElementSpec
extends NodeRewriteSpec

Java class for ElementSpec complex type.

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

 <complexType name="ElementSpec">
   <complexContent>
     <extension base="{http://textgrid.info/import}NodeRewriteSpec">
       <sequence>
         <element name="attribute" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <extension base="{http://textgrid.info/import}NodeRewriteSpec">
               </extension>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
Modifier and Type Class and Description
static class ElementSpec.Attribute
          Java class for anonymous complex type.
 
Field Summary
Modifier and Type Field and Description
protected  List<ElementSpec.Attribute> attribute
           
 
Fields inherited from class info.textgrid._import.NodeRewriteSpec
method, name
 
Constructor Summary
Constructor and Description
ElementSpec()
           
 
Method Summary
Modifier and Type Method and Description
 List<ElementSpec.Attribute> getAttribute()
          Gets the value of the attribute property.
 
Methods inherited from class info.textgrid._import.NodeRewriteSpec
getMethod, getName, setMethod, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected List<ElementSpec.Attribute> attribute
Constructor Detail

ElementSpec

public ElementSpec()
Method Detail

getAttribute

public List<ElementSpec.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 ElementSpec.Attribute



Copyright © 2012 TextGrid. All Rights Reserved.