public class Sender extends Object implements Serializable
Java class for Sender complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Sender">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Credential" type="{http://www.printtalk.org/schema_2_0}Credential" maxOccurs="unbounded"/>
<element name="UserAgent" type="{http://www.printtalk.org/schema_2_0}cXML-UserAgent"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Credential> |
credentials |
protected CXMLUserAgent |
userAgent |
| Constructor and Description |
|---|
Sender() |
| Modifier and Type | Method and Description |
|---|---|
List<Credential> |
getCredentials()
Gets the value of the credentials property.
|
CXMLUserAgent |
getUserAgent()
Gets the value of the userAgent property.
|
void |
setUserAgent(CXMLUserAgent value)
Sets the value of the userAgent property.
|
protected List<Credential> credentials
protected CXMLUserAgent userAgent
public List<Credential> getCredentials()
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 credentials property.
For example, to add a new item, do as follows:
getCredentials().add(newItem);
Objects of the following type(s) are allowed in the list
Credential
public CXMLUserAgent getUserAgent()
CXMLUserAgentpublic void setUserAgent(CXMLUserAgent value)
value - allowed object is
CXMLUserAgentCopyright © 2012. All Rights Reserved.