Status: | Draft |
Version: | 1.0 |
Project owner: | Benjamin Schell |
Available: | since V1.3 |
This object represents Link elements of the Atom specification.
Type |
Property |
Description |
String |
href |
The URL for the Link |
String |
hrefLang |
The hrefLang attribute, specifying what language the target link is in. |
String |
rel |
The rel attribute, describing the relation of this link to the parent item |
String |
title |
The title of the Link |
String |
type |
The type of Link |
Below are all the functions implemented by this model class.
Return Type |
Function |
Description |
Boolean |
accept(String) |
Returns whether this item accepts the given tag name.
Overriden by child classes |
undefined |
buildFromDom(DOMNode) |
Builds this Link from a given DOMNode. |
String |
toString() |
Return the XML representation of the Link |