Class AcceptFormatsType


  • public class AcceptFormatsType
    extends Object
    Prioritized sequence of zero or more GetCapabilities operation response formats desired by client, with preferred formats listed first. Each response format shall be identified by its MIME type. See AcceptFormats parameter use subclause for more information.

    Java class for AcceptFormatsType complex type.

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

     <complexType name="AcceptFormatsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="OutputFormat" type="{http://www.opengis.net/ows}MimeType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • outputFormat

        protected List<String> outputFormat
    • Constructor Detail

      • AcceptFormatsType

        public AcceptFormatsType()
        Default no-arg constructor
      • AcceptFormatsType

        public AcceptFormatsType​(List<String> outputFormat)
        Fully-initialising value constructor
    • Method Detail

      • getOutputFormat

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

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

            getOutputFormat().add(newItem);
         

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