![JAR search and dependency download from the Maven repository](/logo.png)
simplenlg.xmlrealiser.wrapper.XmlDocumentElement Maven / Gradle / Ivy
Show all versions of SimpleNLG Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.02.04 at 09:14:07 AM EST
//
package simplenlg.xmlrealiser.wrapper;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DocumentElement complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DocumentElement">
* <complexContent>
* <extension base="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement">
* <sequence>
* <element name="child" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}docAtts"/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentElement", propOrder = {
"child"
})
public class XmlDocumentElement
extends XmlNLGElement
{
protected List child;
@XmlAttribute(name = "cat")
protected XmlDocumentCategory cat;
@XmlAttribute(name = "title")
protected String title;
/**
* Gets the value of the child property.
*
*
* 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 child property.
*
*
* For example, to add a new item, do as follows:
*
* getChild().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XmlNLGElement }
*
*
*/
public List getChild() {
if (child == null) {
child = new ArrayList();
}
return this.child;
}
/**
* Gets the value of the cat property.
*
* @return
* possible object is
* {@link XmlDocumentCategory }
*
*/
public XmlDocumentCategory getCat() {
return cat;
}
/**
* Sets the value of the cat property.
*
* @param value
* allowed object is
* {@link XmlDocumentCategory }
*
*/
public void setCat(XmlDocumentCategory value) {
this.cat = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}