public class XmlDocumentElement extends XmlNLGElement
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>
| Modifier and Type | Field and Description |
|---|---|
protected XmlDocumentCategory |
cat |
protected List<XmlNLGElement> |
child |
protected String |
title |
| Constructor and Description |
|---|
XmlDocumentElement() |
| Modifier and Type | Method and Description |
|---|---|
XmlDocumentCategory |
getCat()
Gets the value of the cat property.
|
List<XmlNLGElement> |
getChild()
Gets the value of the child property.
|
String |
getTitle()
Gets the value of the title property.
|
void |
setCat(XmlDocumentCategory value)
Sets the value of the cat property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
protected List<XmlNLGElement> child
protected XmlDocumentCategory cat
protected String title
public List<XmlNLGElement> getChild()
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
XmlNLGElement
public XmlDocumentCategory getCat()
XmlDocumentCategorypublic void setCat(XmlDocumentCategory value)
value - allowed object is
XmlDocumentCategorypublic String getTitle()
StringCopyright © 2020. All Rights Reserved.