SnCore!

AtomContentConstruct Class Reference

The class representing all content constructs. More...

Inheritance diagram for AtomContentConstruct:

AtomElement AtomContent

List of all members.


Public Member Functions

 AtomContentConstruct (Uri ns)
 Represents an AtomContentConstruct instance. Initialize the AtomElement.LocalName to "title" the Content to String.Empty, Type to DefaultValues.MediaType and Mode to DefaultValues.Mode.
 AtomContentConstruct (string localName, Uri ns)
 Represents an AtomContentConstruct instance initialized with the given content.
 AtomContentConstruct (string localName, string content, Uri ns)
 Represents an AtomContentConstruct instance initialized with the given content.
 AtomContentConstruct (string localName, string content, MediaType type, Uri ns)
 Represents an AtomContentConstruct instance initialized with the given content and MediaType.
 AtomContentConstruct (string localName, string content, Mode mode, Uri ns)
 Represents an AtomContentConstruct instance initialized with the given content and Mode.
 AtomContentConstruct (string localName, string content, MediaType type, Mode mode, Uri ns)
 Represents an AtomContentConstruct instance initialized with the given content, MediaType and Mode.
override string ToString ()
 Converts the AtomContentConstruct 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

MediaType Type [get, set]
 The media type of the content.
Mode Mode [get, set]
 The encoding mode of the content.
string Content [get, set]
 The content itself.

Detailed Description

The class representing all content constructs.


Constructor & Destructor Documentation

AtomContentConstruct ( Uri  ns  ) 

Represents an AtomContentConstruct instance. Initialize the AtomElement.LocalName to "title" the Content to String.Empty, Type to DefaultValues.MediaType and Mode to DefaultValues.Mode.

AtomContentConstruct ( string  localName,
Uri  ns 
)

Represents an AtomContentConstruct instance initialized with the given content.

Parameters:
localName The not qualified name of the element.

AtomContentConstruct ( string  localName,
string  content,
Uri  ns 
)

Represents an AtomContentConstruct instance initialized with the given content.

Parameters:
localName The not qualified name of the element.
content The Content of the AtomContentConstruct.

AtomContentConstruct ( string  localName,
string  content,
MediaType  type,
Uri  ns 
)

Represents an AtomContentConstruct instance initialized with the given content and MediaType.

Parameters:
localName The not qualified name of the element.
content The Content of the AtomContentConstruct.
type The MediaType of the AtomContentConstruct.

AtomContentConstruct ( string  localName,
string  content,
Mode  mode,
Uri  ns 
)

Represents an AtomContentConstruct instance initialized with the given content and Mode.

Parameters:
localName The not qualified name of the element.
content The Content of the AtomContentConstruct.
mode The Mode of the AtomContentConstruct.

AtomContentConstruct ( string  localName,
string  content,
MediaType  type,
Mode  mode,
Uri  ns 
)

Represents an AtomContentConstruct instance initialized with the given content, MediaType and Mode.

Parameters:
localName The not qualified name of the element.
content The Content of the AtomContentConstruct.
type The MediaType of the AtomContentConstruct.
mode The Mode of the AtomContentConstruct.


Member Function Documentation

override string ToString (  ) 

Converts the AtomContentConstruct in a series of xml nodes.

Returns:
The string representation of AtomContentConstruct class.

internal override void WriteStartElement (  )  [protected, virtual]

Writes the start tag of the element.

Reimplemented from AtomElement.

Reimplemented in AtomContent.

internal override void WriteEndElement (  )  [protected, virtual]

Writes the end tag of the element.

Reimplemented from AtomElement.


Property Documentation

MediaType Type [get, set]

The media type of the content.

Mode Mode [get, set]

The encoding mode of the content.

string Content [get, set]

The content itself.


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