yarfraw.generated.atom03.elements
Class LinkType

java.lang.Object
  extended by yarfraw.generated.atom03.elements.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">
       <attribute name="rel" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="alternate"/>
             <enumeration value="start"/>
             <enumeration value="next"/>
             <enumeration value="prev"/>
             <enumeration value="service.edit"/>
             <enumeration value="service.post"/>
             <enumeration value="service.feed"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="type" use="required" type="{http://purl.org/atom/ns#}mediaType" />
       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String href
           
protected  String rel
           
protected  String title
           
protected  String type
           
 
Constructor Summary
LinkType()
           
 
Method Summary
 String getHref()
          Gets the value of the href property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getRel()
          Gets the value of the rel property.
 String getTitle()
          Gets the value of the title property.
 String getType()
          Gets the value of the type property.
 void setHref(String value)
          Sets the value of the href property.
 void setRel(String value)
          Sets the value of the rel property.
 void setTitle(String value)
          Sets the value of the title property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rel

protected String rel

type

protected String type

href

protected String href

title

protected String title
Constructor Detail

LinkType

public LinkType()
Method Detail

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

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title 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


Copyright © 2008. All Rights Reserved.