SnCore!

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 [get]
 Gets the local name of the link element.
Relationship Rel [get, set]
 The relationship of the link.
MediaType Type [get, set]
 The media type of the link.
Uri HRef [get, set]
 The url of the link.
string Title [get, set]
 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  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.

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.

internal override void WriteStartElement (  )  [protected, virtual]

Writes the start tag of the element.

Reimplemented from AtomElement.

internal override void WriteEndElement (  )  [protected, virtual]

Writes the end tag of the element.

Reimplemented from AtomElement.


Property Documentation

override string LocalName [get]

Gets the local name of the link element.

Reimplemented from AtomElement.

Relationship Rel [get, set]

The relationship of the link.

MediaType Type [get, set]

The media type of the link.

Uri HRef [get, set]

The url of the link.

string Title [get, set]

The title of the link.


The documentation for this class was generated from the following file:
  • AtomLink.cs
© Vestris Inc., 2006-2007, All Rights Reserved | SnCore | Wed Mar 5 09:56:24 2008 | Doxygen 1.5.4