Class LinkType


  • public class LinkType
    extends Object

    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>
     
    • Constructor Detail

      • LinkType

        public LinkType()
    • Method Detail

      • getTitleOrPropertyOrAny

        public List<Object> 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

        public String getRel()
        Gets the value of the rel property.
        Returns:
        possible object is String
      • setRel

        public void setRel​(String value)
        Sets the value of the rel property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

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

        public String getHref()
        Gets the value of the href property.
        Returns:
        possible object is String
      • setHref

        public void setHref​(String value)
        Sets the value of the href property.
        Parameters:
        value - allowed object is String
      • getTemplate

        public String getTemplate()
        Gets the value of the template property.
        Returns:
        possible object is String
      • setTemplate

        public void setTemplate​(String value)
        Sets the value of the template property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public Map<QName,​String> 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