All Downloads are FREE. Search and download functionalities are using the official Maven repository.

simplenlg.xmlrealiser.wrapper.XmlDocumentElement Maven / Gradle / Ivy

There is a newer version: 4.5.0
Show newest version
//
// 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="{http://simplenlg.googlecode.com/svn/trunk/res/xml}NLGElement">
 *       <sequence>
 *         <element name="child" type="{http://simplenlg.googlecode.com/svn/trunk/res/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attGroup ref="{http://simplenlg.googlecode.com/svn/trunk/res/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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy