//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.05.13 at 05:26:58 PM WEST
//
package org.openxdm.xcap.common.xcapdiff;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for add complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "add", propOrder = {
"content"
})
@XmlSeeAlso({
org.openxdm.xcap.common.xcapdiff.DocumentType.Add.class
})
public class Add {
@XmlMixed
@XmlAnyElement(lax = true)
protected List<Object> content;
@XmlAttribute(required = true)
protected String sel;
@XmlAttribute
protected Pos pos;
@XmlAttribute
protected String type;
/**
* Gets the value of the content property.
*
* <p>
* 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 <CODE>set</CODE> method for the content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
* {@link Object }
* {@link Element }
*
*
*/
public List<Object> getContent() {
if (content == null) {
content = new ArrayList<Object>();
}
return this.content;
}
/**
* Gets the value of the sel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSel() {
return sel;
}
/**
* Sets the value of the sel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSel(String value) {
this.sel = value;
}
/**
* Gets the value of the pos property.
*
* @return
* possible object is
* {@link Pos }
*
*/
public Pos getPos() {
return pos;
}
/**
* Sets the value of the pos property.
*
* @param value
* allowed object is
* {@link Pos }
*
*/
public void setPos(Pos value) {
this.pos = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}