public class Items 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"> <choice> <element ref="{http://jabber.org/protocol/pubsub#event}item" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://jabber.org/protocol/pubsub#event}retract" maxOccurs="unbounded" minOccurs="0"/> </choice> <attribute name="node" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Item> |
item |
protected String |
node |
protected List<Retract> |
retract |
Constructor and Description |
---|
Items() |
Modifier and Type | Method and Description |
---|---|
List<Item> |
getItem()
Gets the value of the item property.
|
String |
getNode()
Gets the value of the node property.
|
List<Retract> |
getRetract()
Gets the value of the retract property.
|
void |
setNode(String value)
Sets the value of the node property.
|
protected String node
public List<Item> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
Item
public List<Retract> getRetract()
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 retract property.
For example, to add a new item, do as follows:
getRetract().add(newItem);
Objects of the following type(s) are allowed in the list
Retract
public String getNode()
String
Copyright © 2020. All rights reserved.