package com.mindprod.aws.jax; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import java.util.ArrayList; import java.util.List; /** *
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="Header" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> **/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "", propOrder = { "header" } ) @XmlRootElement( name = "HTTPHeaders" ) public class HTTPHeaders { @XmlElement( name = "Header" ) protected List
set
method for the header property.
*
*
* For example, to add a new item, do as follows:
* * getHeader().add(newItem); ** * * * Objects of the following type(s) are allowed in the list * {@link HTTPHeaders.Header } */ public List
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"> * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> **/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "" ) public static class Header { @XmlAttribute( name = "Name", required = true ) protected String name; @XmlAttribute( name = "Value", required = true ) protected String value; /** * Gets the value of the name property. * * @return possible object is * {@link String } */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value allowed object is * {@link String } */ public void setName( String value ) { this.name = value; } /** * Gets the value of the value property. * * @return possible object is * {@link String } */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value allowed object is * {@link String } */ public void setValue( String value ) { this.value = value; } } }