Class KeywordsType


  • public class KeywordsType
    extends Object
    For OWS use, the optional thesaurusName element was omitted as being complex information that could be referenced by the codeSpace attribute of the Type element.

    Java class for KeywordsType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="KeywordsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Keyword" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
             <element name="Type" type="{http://www.opengis.net/ows}CodeType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • KeywordsType

        public KeywordsType()
        Default no-arg constructor
      • KeywordsType

        public KeywordsType​(List<String> keyword,
                            CodeType type)
        Fully-initialising value constructor
    • Method Detail

      • getKeyword

        public List<String> getKeyword()
        Gets the value of the keyword 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 keyword property.

        For example, to add a new item, do as follows:

            getKeyword().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getType

        public CodeType getType()
        Gets the value of the type property.
        Returns:
        possible object is CodeType
      • setType

        public void setType​(CodeType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is CodeType