
public class Header extends Object
Java class for header complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="header">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected List<String> |
value |
| Constructor and Description |
|---|
Header() |
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2008–2017 MIL-OSS. All rights reserved.