public class TextCorpus extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TextDocument" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected List<TextDocument> |
textDocuments |
| Constructor and Description |
|---|
TextCorpus() |
| Modifier and Type | Method and Description |
|---|---|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<TextDocument> |
getTextDocuments()
Gets the value of the textDocuments property.
|
protected List<TextDocument> textDocuments
public List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public List<TextDocument> getTextDocuments()
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 textDocuments property.
For example, to add a new item, do as follows:
getTextDocuments().add(newItem);
Objects of the following type(s) are allowed in the list
TextDocument
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.