Package org.bremersee.gpx.model
Class LinkType
java.lang.Object
org.bremersee.gpx.model.LinkType
- All Implemented Interfaces:
Serializable
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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHref()Gets the value of the href property.getText()Gets the value of the text property.getType()Gets the value of the type property.voidSets the value of the href property.voidSets the value of the text property.voidSets the value of the type property.
-
Field Details
-
text
-
type
-
href
-
-
Constructor Details
-
LinkType
public LinkType()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
String
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getHref
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
Sets the value of the href property.- Parameters:
value- allowed object isString
-