public class AttributeValuePair extends Object
Java class for AttributeValuePair complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeValuePair"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="G" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="V" type="{http://jfuf.sf.net/FD}AttributeValuePair" maxOccurs="unbounded"/> </choice> <attribute name="N" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
g |
protected String |
n |
protected List<AttributeValuePair> |
v |
Constructor and Description |
---|
AttributeValuePair() |
Modifier and Type | Method and Description |
---|---|
String |
getG()
Gets the value of the g property.
|
String |
getN()
Gets the value of the n property.
|
List<AttributeValuePair> |
getV()
Gets the value of the v property.
|
void |
setG(String value)
Sets the value of the g property.
|
void |
setN(String value)
Sets the value of the n property.
|
protected String g
protected List<AttributeValuePair> v
protected String n
public void setG(String value)
value
- allowed object is
String
public List<AttributeValuePair> getV()
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 v property.
For example, to add a new item, do as follows:
getV().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeValuePair
Copyright © 2015 Pablo Duboue. All rights reserved.