public class SearchResults extends LinkCollection
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="searchResult" type="{http://www.xwiki.org}SearchResult" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<SearchResult> |
searchResults |
protected String |
template |
links| Constructor and Description |
|---|
SearchResults() |
| Modifier and Type | Method and Description |
|---|---|
List<SearchResult> |
getSearchResults()
Gets the value of the searchResults property.
|
String |
getTemplate()
Gets the value of the template property.
|
void |
setTemplate(String value)
Sets the value of the template property.
|
getLinksprotected List<SearchResult> searchResults
protected String template
public List<SearchResult> getSearchResults()
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 searchResults property.
For example, to add a new item, do as follows:
getSearchResults().add(newItem);
Objects of the following type(s) are allowed in the list
SearchResult
public String getTemplate()
StringCopyright © 2003–2018 eXo Platform SAS. All rights reserved.