public class Add extends Object
Java class for add complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="add">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any/>
</sequence>
<attribute name="sel" use="required" type="{urn:ietf:params:xml:ns:xcap-diff}xpath-add" />
<attribute name="pos" type="{urn:ietf:params:xml:ns:xcap-diff}pos" />
<attribute name="type" type="{urn:ietf:params:xml:ns:xcap-diff}type" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
content |
protected Pos |
pos |
protected String |
sel |
protected String |
type |
| Constructor and Description |
|---|
Add() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getContent()
Gets the value of the content property.
|
Pos |
getPos()
Gets the value of the pos property.
|
String |
getSel()
Gets the value of the sel property.
|
String |
getType()
Gets the value of the type property.
|
void |
setPos(Pos value)
Sets the value of the pos property.
|
void |
setSel(String value)
Sets the value of the sel property.
|
void |
setType(String value)
Sets the value of the type property.
|
public List<Object> getContent()
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
String
Object
Element
public void setSel(String value)
value - allowed object is
Stringpublic void setPos(Pos value)
value - allowed object is
Pospublic String getType()
StringCopyright © 2016. All rights reserved.