public static class HTTPHeaders.List extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="string" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="string" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<String>> |
content |
| Constructor and Description |
|---|
HTTPHeaders.List() |
protected List<JAXBElement<String>> content
public List<JAXBElement<String>> getContent()
You are getting this "catch-all" property because of the following reason: The field name "String" is used by two different parts of a schema. See: line 70 of file:/home/stain/src/scufl2/scufl2-t2flow/src/main/resources/uk/org/taverna/scufl2/translator/t2flow/xsd/restactivity.xsd line 69 of file:/home/stain/src/scufl2/scufl2-t2flow/src/main/resources/uk/org/taverna/scufl2/translator/t2flow/xsd/restactivity.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<String>
Copyright © 2014 myGrid. All rights reserved.