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  String href
           
protected  String hreflang
           
protected  String length
           
protected  String rel
           
protected  String title
           
protected  String type
           
 
Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes
base, lang
 
Constructor Summary
AtomLink()
           
AtomLink(SyndLink value)
           
 
Method Summary
 String getHref()
          Gets the value of href.
 String getHreflang()
          Gets the value of hreflang.
 String getLength()
          Gets the value of length.
 String getRel()
          Gets the value of rel.
 String getTitle()
          Gets the value of title.
 String getType()
          Gets the value of type.
 void setHref(String value)
          Sets the value of href.
 void setHreflang(String value)
          Sets the value of hreflang.
 void setLength(String value)
          Sets the value of length.
 void setRel(String value)
          Sets the value of rel.
 void setTitle(String value)
          Sets the value of title.
 void setType(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 String length

title

protected String title

hreflang

protected String hreflang

rel

protected String rel

type

protected String type

href

protected String href
Constructor Detail

AtomLink

public AtomLink()

AtomLink

public AtomLink(SyndLink value)
Method Detail

toSynd

public SyndLink toSynd(SyndLink value)

getLength

public String getLength()
Gets the value of length.


setLength

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


getTitle

public String getTitle()
Gets the value of title.


setTitle

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


getHreflang

public String getHreflang()
Gets the value of hreflang.


setHreflang

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


getRel

public String getRel()
Gets the value of rel.


setRel

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


getType

public String getType()
Gets the value of type.


setType

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


getHref

public String getHref()
Gets the value of href.


setHref

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



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