public abstract class XmlPhraseElement extends XmlNLGElement
Java class for PhraseElement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PhraseElement">
<complexContent>
<extension base="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement">
<sequence>
<element name="frontMod" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
<element name="preMod" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
<element name="compl" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
<element name="postMod" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}NLGElement" maxOccurs="unbounded" minOccurs="0"/>
<element name="head" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}WordElement" minOccurs="0"/>
</sequence>
<attribute name="cat" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}phraseCategory" />
<attribute name="discourseFunction" type="{https://github.com/simplenlg/simplenlg/tree/master/src/main/resources/xml}discourseFunction" />
<attribute name="appositive" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
appositive |
protected XmlPhraseCategory |
cat |
protected List<XmlNLGElement> |
compl |
protected XmlDiscourseFunction |
discourseFunction |
protected List<XmlNLGElement> |
frontMod |
protected XmlWordElement |
head |
protected List<XmlNLGElement> |
postMod |
protected List<XmlNLGElement> |
preMod |
| Constructor and Description |
|---|
XmlPhraseElement() |
| Modifier and Type | Method and Description |
|---|---|
XmlPhraseCategory |
getCat()
Gets the value of the cat property.
|
List<XmlNLGElement> |
getCompl()
Gets the value of the compl property.
|
XmlDiscourseFunction |
getDiscourseFunction()
Gets the value of the discourseFunction property.
|
List<XmlNLGElement> |
getFrontMod()
Gets the value of the frontMod property.
|
XmlWordElement |
getHead()
Gets the value of the head property.
|
List<XmlNLGElement> |
getPostMod()
Gets the value of the postMod property.
|
List<XmlNLGElement> |
getPreMod()
Gets the value of the preMod property.
|
Boolean |
isAppositive()
Gets the value of the appositive property.
|
void |
setAppositive(Boolean value)
Sets the value of the appositive property.
|
void |
setCat(XmlPhraseCategory value)
Sets the value of the cat property.
|
void |
setDiscourseFunction(XmlDiscourseFunction value)
Sets the value of the discourseFunction property.
|
void |
setHead(XmlWordElement value)
Sets the value of the head property.
|
protected List<XmlNLGElement> frontMod
protected List<XmlNLGElement> preMod
protected List<XmlNLGElement> compl
protected List<XmlNLGElement> postMod
protected XmlWordElement head
protected XmlPhraseCategory cat
protected XmlDiscourseFunction discourseFunction
protected Boolean appositive
public List<XmlNLGElement> getFrontMod()
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 frontMod property.
For example, to add a new item, do as follows:
getFrontMod().add(newItem);
Objects of the following type(s) are allowed in the list
XmlNLGElement
public List<XmlNLGElement> getPreMod()
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 preMod property.
For example, to add a new item, do as follows:
getPreMod().add(newItem);
Objects of the following type(s) are allowed in the list
XmlNLGElement
public List<XmlNLGElement> getCompl()
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 compl property.
For example, to add a new item, do as follows:
getCompl().add(newItem);
Objects of the following type(s) are allowed in the list
XmlNLGElement
public List<XmlNLGElement> getPostMod()
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 postMod property.
For example, to add a new item, do as follows:
getPostMod().add(newItem);
Objects of the following type(s) are allowed in the list
XmlNLGElement
public XmlWordElement getHead()
XmlWordElementpublic void setHead(XmlWordElement value)
value - allowed object is
XmlWordElementpublic XmlPhraseCategory getCat()
XmlPhraseCategorypublic void setCat(XmlPhraseCategory value)
value - allowed object is
XmlPhraseCategorypublic XmlDiscourseFunction getDiscourseFunction()
XmlDiscourseFunctionpublic void setDiscourseFunction(XmlDiscourseFunction value)
value - allowed object is
XmlDiscourseFunctionpublic Boolean isAppositive()
BooleanCopyright © 2020. All Rights Reserved.