Class ExtensionsType


  • public class ExtensionsType
    extends Object
    You can add extend GPX by adding your own elements from another schema here.

    Java class for extensionsType complex type.

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

     <complexType name="extensionsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ExtensionsType

        public ExtensionsType()
    • Method Detail

      • getAny

        public List<Object> getAny()
        Gets the value of the any 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 any property.

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

            getAny().add(newItem);
         

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