SnCore!

AtomElement Class Reference

The base class for all elements. More...

Inheritance diagram for AtomElement:

ScopedElement AtomContentConstruct AtomDateConstruct AtomEntry AtomFeed AtomGenerator AtomLink AtomPersonConstruct

List of all members.


Protected Member Functions

 AtomElement (Uri ns)
 Initialize a new instance of the AtomElement class.
virtual internal void WriteStartElement ()
 Override this to write the start tag of the atom element.
virtual internal void WriteEndElement ()
 Override this to write the end tag of the atom element.
internal void WriteElement (string localName, DateTime input, bool required, string message)
 Writes an element into the flow.
internal void WriteElement (string localName, int input, bool required, string message)
 Writes an element into the flow.
internal void WriteElement (string localName, string input, bool required, string message)
 Writes an element into the flow.
internal void WriteElement (string localName, Uri input, bool required, string message)
 Writes an element into the flow.
internal void WriteElement (string localName, object input, bool required, string message)
 Writes an element into the flow.
internal void WriteAttribute (string localName, DateTime input, bool required, string message)
 Writes an attribute into the flow.
internal void WriteAttribute (string localName, int input, bool required, string message)
 Writes an attribute into the flow.
internal void WriteAttribute (string localName, string input, bool required, string message)
 Writes an attribute into the flow.
internal void WriteAttribute (string localName, Uri input, bool required, string message)
 Writes an attribute into the flow.
internal void WriteAttribute (string localName, object input, bool required, string message)
 Writes an attribute into the flow.

Static Protected Member Functions

static internal Uri resolveUri (string baseURI, string path)
 Resolves relative URIs.

Static Protected Attributes

static internal string xmlBaseRootUri = String.Empty
 The root xml:base uri. It's for internal use.

Properties

virtual string LocalName [get, set]
 The local name of the element.
virtual string NamespacePrefix [get]
 The namespace prefix of the element.
virtual Uri NamespaceUri [get]
 The namespace uri of the element.
virtual string FullName [get]
 The full qualified name of the element.
Language XmlLang [get, set]
 The content's language of the current element.
Uri XmlBase [get, set]
 The xml:base attribute uri.
internal StringBuilder Buffer [get]
 The serialization buffer. Use it in your own subclasses for serialization purposes.

Detailed Description

The base class for all elements.


Constructor & Destructor Documentation

AtomElement ( Uri  ns  )  [protected]

Initialize a new instance of the AtomElement class.


Member Function Documentation

virtual internal void WriteStartElement (  )  [protected, virtual]

Override this to write the start tag of the atom element.

Reimplemented in ScopedElement, AtomContent, AtomContentConstruct, AtomDateConstruct, AtomLink, and AtomPersonConstruct.

virtual internal void WriteEndElement (  )  [protected, virtual]

Override this to write the end tag of the atom element.

Reimplemented in ScopedElement, AtomContentConstruct, AtomDateConstruct, AtomLink, and AtomPersonConstruct.

internal void WriteElement ( string  localName,
DateTime  input,
bool  required,
string  message 
) [protected]

Writes an element into the flow.

Parameters:
localName The local name of the element.
input The DateTime to write.
required true if the element is required, false otherwise
message The error message if the element is missing.

internal void WriteElement ( string  localName,
int  input,
bool  required,
string  message 
) [protected]

Writes an element into the flow.

Parameters:
localName The local name of the element.
input The int value to write.
required true if the element is required, false otherwise
message The error message if the element is missing.

internal void WriteElement ( string  localName,
string  input,
bool  required,
string  message 
) [protected]

Writes an element into the flow.

Parameters:
localName The local name of the element.
input The string to write.
required true if the element is required, false otherwise
message The error message if the element is missing.

internal void WriteElement ( string  localName,
Uri  input,
bool  required,
string  message 
) [protected]

Writes an element into the flow.

Parameters:
localName The local name of the element.
input The Uri to write.
required true if the element is required, false otherwise
message The error message if the element is missing.

internal void WriteElement ( string  localName,
object  input,
bool  required,
string  message 
) [protected]

Writes an element into the flow.

Parameters:
localName The local name of the element.
input The object to write.
required true if the element is required, false otherwise
message The error message if the element is missing.

internal void WriteAttribute ( string  localName,
DateTime  input,
bool  required,
string  message 
) [protected]

Writes an attribute into the flow.

Parameters:
localName The local name of the attribute.
input The DateTime to write.
required true if the element is required, false otherwise
message The error message if the attribute is missing.

internal void WriteAttribute ( string  localName,
int  input,
bool  required,
string  message 
) [protected]

Writes an attribute into the flow.

Parameters:
localName The local name of the attribute.
input The int value to write.
required true if the element is required, false otherwise
message The error message if the attribute is missing.

internal void WriteAttribute ( string  localName,
string  input,
bool  required,
string  message 
) [protected]

Writes an attribute into the flow.

Parameters:
localName The local name of the attribute.
input The string to write.
required true if the element is required, false otherwise
message The error message if the attribute is missing.

internal void WriteAttribute ( string  localName,
Uri  input,
bool  required,
string  message 
) [protected]

Writes an attribute into the flow.

Parameters:
localName The local name of the attribute.
input The Uri to write.
required true if the element is required, false otherwise
message The error message if the attribute is missing.

internal void WriteAttribute ( string  localName,
object  input,
bool  required,
string  message 
) [protected]

Writes an attribute into the flow.

Parameters:
localName The local name of the attribute.
input The object to write.
required true if the element is required, false otherwise
message The error message if the attribute is missing.

static internal Uri resolveUri ( string  baseURI,
string  path 
) [static, protected]

Resolves relative URIs.

Parameters:
baseURI The base uri.
path The path to resolve.
Returns:
The resolved Uri.


Member Data Documentation

internal string xmlBaseRootUri = String.Empty [static, protected]

The root xml:base uri. It's for internal use.


Property Documentation

virtual string LocalName [get, set]

The local name of the element.

Reimplemented in AtomContent, AtomEntry, AtomFeed, and AtomLink.

virtual string NamespacePrefix [get]

The namespace prefix of the element.

Reimplemented in DcElement.

virtual Uri NamespaceUri [get]

The namespace uri of the element.

Reimplemented in DcElement.

virtual string FullName [get]

The full qualified name of the element.

Language XmlLang [get, set]

The content's language of the current element.

Uri XmlBase [get, set]

The xml:base attribute uri.

internal StringBuilder Buffer [get, protected]

The serialization buffer. Use it in your own subclasses for serialization purposes.


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