FoodCandy!

AtomLink Class Reference

The link of an Atom feed or an entry.
See also:
AtomFeed, AtomEntry

. More...

Inheritance diagram for AtomLink:

AtomElement List of all members.

Public Member Functions

 AtomLink (Uri ns)
 Represents an AtomLink instance. Initialize the HRef to DefaultValues::Uri, Title to String::Empty, Rel to DefaultValues::Rel and Type to DefaultValues::MediaType.
 AtomLink (Uri href, Relationship rel, MediaType type, Uri ns)
 Represents an AtomLink instance initialized with the given Uri and title.
 AtomLink (Uri href, Relationship rel, MediaType type, string title, Uri ns)
 Represents an AtomLink instance initialized with the given Uri, title, Relationship and Type.
override string ToString ()
 Converts the AtomLink in a series of xml nodes.

Protected Member Functions

internal override void WriteStartElement ()
 Writes the start tag of the element.
internal override void WriteEndElement ()
 Writes the end tag of the element.

Properties

override string LocalName
 Gets the local name of the link element.
Relationship Rel
 The relationship of the link.
MediaType Type
 The media type of the link.
Uri HRef
 The url of the link.
string Title
 The title of the link.

Detailed Description

The link of an Atom feed or an entry.
See also:
AtomFeed, AtomEntry

.


Constructor & Destructor Documentation

AtomLink Uri  href,
Relationship  rel,
MediaType  type,
Uri  ns
 

Represents an AtomLink instance initialized with the given Uri and title.

Parameters:
href The Uri of the link.
rel The Relationship of the link.
type The Type of the link.

AtomLink Uri  href,
Relationship  rel,
MediaType  type,
string  title,
Uri  ns
 

Represents an AtomLink instance initialized with the given Uri, title, Relationship and Type.

Parameters:
href The Uri of the link.
rel The Relationship of the link.
type The Type of the link.
title The Title of the link.

Member Function Documentation

override string ToString  ) 
 

Converts the AtomLink in a series of xml nodes.

Returns:
The string representation of AtomLink class.

The documentation for this class was generated from the following file:
  • AtomLink.cs
© FoodCandy, 2006-2007, All Rights Reserved | FoodCandy | Sun Oct 7 10:48:51 2007 | Doxygen 1.4.6-NO