FoodCandy!

DefaultValues Class Reference

Contains default values for Atom feeds. More...

List of all members.


Properties

static MediaType AtomMediaType
 The media type of Atom xml format.
static Language Language
 The default language of the feed.
const int Int = -1
 The default value for int values.
static MediaType MediaType
 The default media type. It defaults to "text/plain".
static Mode Mode
 The default encoding mode for the contents.
const Relationship Rel = Relationship.Alternate
 The default relationship for the links.
static Uri Uri
 The default uri for Uri fields.
static DateTime DateTime
 The default date/time.
static TimeSpan UtcOffset
 The default UTC offset.
static Encoding Encoding
 The default encoding.

Detailed Description

Contains default values for Atom feeds.


Property Documentation

Mode Mode [static, get]
 

The default encoding mode for the contents.

  • <term>xml</term> The content is inline xml.
  • <term>escaped</term> The content is an escaped string.
  • <term>base64</term> The content is base64 encoded.

Processors must decode the element's content before considering it as content of the the indicated media type. It defaults to "xml".

const Relationship Rel = Relationship.Alternate
 

The default relationship for the links.

  • <term>alternate</term> The URI in the href attribute points to an alternate representation of the containing resource.
  • <term>start</term> The Atom feed at the URI supplied in the href attribute contains the first feed in a linear sequence of entries.
  • <term>next</term> The Atom feed at the URI supplied in the href attribute contains the next N entries in a linear sequence of entries.
  • <term>prev</term> The Atom feed at the URI supplied in the href attribute contains the previous N entries in a linear sequence of entries.
  • <term>service.edit</term> The URI given in the href attribute is used to edit a representation of the referred resource.
  • <term>service.post</term> The URI in the href attribute is used to create new resources.
  • <term>service.feed</term> The URI given in the href attribute is a starting point for navigating content and services.

It defaults to "alternate".


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