Class SearchResults


  • 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>
     
    • Constructor Detail

      • SearchResults

        public SearchResults()
    • Method Detail

      • getSearchResults

        public List<SearchResult> getSearchResults()
        Gets the value of the searchResults 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 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

      • getTemplate

        public String getTemplate()
        Gets the value of the template property.
        Returns:
        possible object is String
      • setTemplate

        public void setTemplate​(String value)
        Sets the value of the template property.
        Parameters:
        value - allowed object is String