.. _dojox/atom/io/model/Link: dojox.atom.io.model.Link ======================== :Status: Draft :Version: 1.0 :Project owner: Benjamin Schell :Available: since V1.3 .. contents:: :depth: 2 This object represents Link elements of the Atom specification. ==================================== Public properties (and their types): ==================================== +----------------------------+-----------------+---------------------------------------------------------------------------------------------+ | **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 | +----------------------------+-----------------+---------------------------------------------------------------------------------------------+ ========================================== Public functions (and their return types): ========================================== 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 | +-------------------+------------------------------------------------------+-------------------------------------------------------------+ ========= See Also: ========= * :ref:`dojox.atom.io.model `