Class NetworkLinkType


public class NetworkLinkType extends AbstractFeatureType

Java class for NetworkLinkType complex type.

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

 <complexType name="NetworkLinkType">
   <complexContent>
     <extension base="{http://earth.google.com/kml/2.2}AbstractFeatureType">
       <sequence>
         <element ref="{http://earth.google.com/kml/2.2}refreshVisibility" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.2}flyToView" minOccurs="0"/>
         <choice minOccurs="0">
           <element ref="{http://earth.google.com/kml/2.2}Link" minOccurs="0"/>
           <element ref="{http://earth.google.com/kml/2.2}Url" minOccurs="0"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • rest

      protected List<jakarta.xml.bind.JAXBElement<?>> rest
  • Constructor Details

    • NetworkLinkType

      public NetworkLinkType()
  • Method Details

    • getRest

      public List<jakarta.xml.bind.JAXBElement<?>> getRest()
      Gets the rest of the content model.

      You are getting this "catch-all" property because of the following reason: The field name "Link" is used by two different parts of a schema. See: line 619 of file:/C:/p4/RouteConverter/navigation-formats/src/doc/kml/kml22beta.xsd line 340 of file:/C:/p4/RouteConverter/navigation-formats/src/doc/kml/kml22beta.xsd

      To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the rest 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 rest property.

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

          getRest().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<Boolean> JAXBElement<LinkType> JAXBElement<LinkType> JAXBElement<Boolean>