public class ServerData 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 ref="{urn:xmpp:pie:0}host" maxOccurs="unbounded"/> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<Host> |
host |
Constructor and Description |
---|
ServerData() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<Host> |
getHost()
Gets the value of the host property.
|
public List<Host> getHost()
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 host property.
For example, to add a new item, do as follows:
getHost().add(newItem);
Objects of the following type(s) are allowed in the list
Host
public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Copyright © 2020. All rights reserved.