Class LinkType

java.lang.Object
slash.navigation.gpx.binding11.LinkType

public class LinkType extends Object
A link to an external resource (Web page, digital photo, video clip, etc) with additional information.

Java class for linkType complex type

.

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


 <complexType name="linkType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • text

      protected String text
      Text of hyperlink.
    • type

      protected String type
      Mime type of content (image/jpeg)
    • href

      protected String href
      URL of hyperlink.
  • Constructor Details

    • LinkType

      public LinkType()
  • Method Details

    • getText

      public String getText()
      Text of hyperlink.
      Returns:
      possible object is String
    • setText

      public void setText(String value)
      Sets the value of the text property.
      Parameters:
      value - allowed object is String
      See Also:
    • getType

      public String getType()
      Mime type of content (image/jpeg)
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also:
    • getHref

      public String getHref()
      URL of hyperlink.
      Returns:
      possible object is String
    • setHref

      public void setHref(String value)
      Sets the value of the href property.
      Parameters:
      value - allowed object is String
      See Also: