org.apache.wink.common.model.atom
Class AtomLink

java.lang.Object
  extended by org.apache.wink.common.model.atom.AtomCommonAttributes
      extended by org.apache.wink.common.model.atom.AtomLink

public class AtomLink
extends AtomCommonAttributes

The "atom:link" elementPer RFC4287

  The "atom:link" element defines a reference from an entry or feed to
  a Web resource.  This specification assigns no meaning to the content
  (if any) of this element.
 
  atomLink =
     element atom:link {
        atomCommonAttributes,
        attribute href { atomUri },
        attribute rel { atomNCName | atomUri }?,
        attribute type { atomMediaType }?,
        attribute hreflang { atomLanguageTag }?,
        attribute title { text }?,
        attribute length { text }?,
        undefinedContent
     }
 


Field Summary
protected  java.lang.String href
           
protected  java.lang.String hreflang
           
protected  java.lang.String length
           
protected  java.lang.String rel
           
protected  java.lang.String title
           
protected  java.lang.String type
           
 
Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes
base, lang
 
Constructor Summary
AtomLink()
           
AtomLink(SyndLink value)
           
 
Method Summary
 java.lang.String getHref()
          Gets the value of href.
 java.lang.String getHreflang()
          Gets the value of hreflang.
 java.lang.String getLength()
          Gets the value of length.
 java.lang.String getRel()
          Gets the value of rel.
 java.lang.String getTitle()
          Gets the value of title.
 java.lang.String getType()
          Gets the value of type.
 void setHref(java.lang.String value)
          Sets the value of href.
 void setHreflang(java.lang.String value)
          Sets the value of hreflang.
 void setLength(java.lang.String value)
          Sets the value of length.
 void setRel(java.lang.String value)
          Sets the value of rel.
 void setTitle(java.lang.String value)
          Sets the value of title.
 void setType(java.lang.String value)
          Sets the value of type.
 SyndLink toSynd(SyndLink value)
           
 
Methods inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes
getBase, getLang, getOtherAttributes, setBase, setLang, toSynd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected java.lang.String length

title

protected java.lang.String title

hreflang

protected java.lang.String hreflang

rel

protected java.lang.String rel

type

protected java.lang.String type

href

protected java.lang.String href
Constructor Detail

AtomLink

public AtomLink()

AtomLink

public AtomLink(SyndLink value)
Method Detail

toSynd

public SyndLink toSynd(SyndLink value)

getLength

public java.lang.String getLength()
Gets the value of length.


setLength

public void setLength(java.lang.String value)
Sets the value of length.


getTitle

public java.lang.String getTitle()
Gets the value of title.


setTitle

public void setTitle(java.lang.String value)
Sets the value of title.


getHreflang

public java.lang.String getHreflang()
Gets the value of hreflang.


setHreflang

public void setHreflang(java.lang.String value)
Sets the value of hreflang.


getRel

public java.lang.String getRel()
Gets the value of rel.


setRel

public void setRel(java.lang.String value)
Sets the value of rel.


getType

public java.lang.String getType()
Gets the value of type.


setType

public void setType(java.lang.String value)
Sets the value of type.


getHref

public java.lang.String getHref()
Gets the value of href.


setHref

public void setHref(java.lang.String value)
Sets the value of href.



Copyright © 2009 The Apache Software Foundation. All Rights Reserved.