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>
Modifier and Type | Class and Description |
---|---|
static class |
ElementSpec.Attribute
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<ElementSpec.Attribute> |
attribute |
method, name
Constructor and Description |
---|
ElementSpec() |
Modifier and Type | Method and Description |
---|---|
List<ElementSpec.Attribute> |
getAttribute()
Gets the value of the attribute property.
|
getMethod, getName, setMethod, setName
protected List<ElementSpec.Attribute> attribute
public List<ElementSpec.Attribute> getAttribute()
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 © 2013 TextGrid. All Rights Reserved.