Class LinkType
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"> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://docs.oasis-open.org/ns/xri/xrd-1.0}Title"/> <element ref="{http://docs.oasis-open.org/ns/xri/xrd-1.0}Property"/> <any processContents='lax' namespace='##other'/> </choice> <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHref()
Gets the value of the href property.Gets a map that contains attributes that aren't bound to any typed property on this class.getRel()
Gets the value of the rel property.Gets the value of the template property.Gets the value of the titleOrPropertyOrAny property.getType()
Gets the value of the type property.void
Sets the value of the href property.void
Sets the value of the rel property.void
setTemplate
(String value) Sets the value of the template property.void
Sets the value of the type property.
-
Field Details
-
titleOrPropertyOrAny
-
rel
-
type
-
href
-
template
-
-
Constructor Details
-
LinkType
public LinkType()
-
-
Method Details
-
getTitleOrPropertyOrAny
Gets the value of the titleOrPropertyOrAny 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 titleOrPropertyOrAny property.For example, to add a new item, do as follows:
getTitleOrPropertyOrAny().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
TitleType
>
JAXBElement
<
PropertyType
>
Element
Object
-
getRel
Gets the value of the rel property.- Returns:
- possible object is
String
-
setRel
Sets the value of the rel 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
-
getTemplate
Gets the value of the template property.- Returns:
- possible object is
String
-
setTemplate
Sets the value of the template property.- Parameters:
value
- allowed object isString
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-