yarfraw.generated.atom10.elements
Class LinkType

java.lang.Object
  extended by yarfraw.generated.atom10.elements.LinkType

public class LinkType
extends Object

The Atom link construct is defined in section 3.4 of the format spec.

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">
       <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/>
       <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="hreflang" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String base
           
protected  String content
           
protected  String href
           
protected  String hreflang
           
protected  String lang
           
protected  BigInteger length
           
protected  String rel
           
protected  String title
           
protected  String type
           
 
Constructor Summary
LinkType()
           
 
Method Summary
 String getBase()
          Gets the value of the base property.
 String getContent()
          The Atom link construct is defined in section 3.4 of the format spec.
 String getHref()
          Gets the value of the href property.
 String getHreflang()
          Gets the value of the hreflang property.
 String getLang()
          Gets the value of the lang property.
 BigInteger getLength()
          Gets the value of the length 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 setBase(String value)
          Sets the value of the base property.
 void setContent(String value)
          Sets the value of the content property.
 void setHref(String value)
          Sets the value of the href property.
 void setHreflang(String value)
          Sets the value of the hreflang property.
 void setLang(String value)
          Sets the value of the lang property.
 void setLength(BigInteger value)
          Sets the value of the length 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

content

protected String content

href

protected String href

rel

protected String rel

type

protected String type

hreflang

protected String hreflang

title

protected String title

length

protected BigInteger length

base

protected String base

lang

protected String lang
Constructor Detail

LinkType

public LinkType()
Method Detail

getContent

public String getContent()
The Atom link construct is defined in section 3.4 of the format spec.

Returns:
possible object is String

setContent

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

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

getHreflang

public String getHreflang()
Gets the value of the hreflang property.

Returns:
possible object is String

setHreflang

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

getLength

public BigInteger getLength()
Gets the value of the length property.

Returns:
possible object is BigInteger

setLength

public void setLength(BigInteger value)
Sets the value of the length property.

Parameters:
value - allowed object is BigInteger

getBase

public String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang 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.