The AtomBase type exposes the following members.

Constructors

  NameDescription
AtomBase

Methods

  NameDescription
AddExtension
adding an extension factory for extension elements
AddOtherNamespaces
empty base implementation
CreateAtomSubElement
this is the subclassing method for AtomBase derived classes to overload what childelements should be created needed to create CustomLink type objects, like WebContentLink etc
CreateExtension
Creates an extension for a given name and namespace by walking the extension factories list and calling CreateInstance for the right one
DeleteExtensions
Delete's all Extensions from the Extension list that match a localName and a Namespace.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindExtension
Finds a specific ExtensionElement based on it's local name and it's namespace. If namespace is NULL, the first one where the localname matches is found. If there are extensionelements that do not implment ExtensionElementFactory, they will not be taken into account Primary use of this is to find XML nodes
FindExtensionFactory
Finds the extension factory for a given name/namespace
FindExtensionsOverloaded.
GetAbsoluteUri
Read only accessor for AbsoluteUri. This is pushed down whenever a base changes.
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsDirty
returns if the element or one subelement is dirty
IsPersistable
checks if the element or one subelement are persistable
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnVersionInfoChanged
this potential overloaded method get's called when the version information of an object is changed. It handles setting the versioninformation on all children and the factories.
ReplaceExtension
all extension elements that match a namespace/localname given will be removed and the new one will be inserted
ReplaceExtensions
all extension elements that match a namespace/localname given will be removed and replaced with the new ones. the input array can contain several different namespace/localname combinations if the passed list is NULL or empty, this will just result in additions
SaveInnerXml
empty base implementation
SaveToXmlOverloaded.
SaveXmlAttributes
protected virtual int SaveXmlAttributes(XmlWriter writer)
ShouldBePersisted
Method to check whether object should be saved. This doesn't check whether the object is dirty; it only checks whether the XML content is worth saving.
SkipNode
checks if this is a namespace decl that we already added
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WalkTree
Calls the action on this object and all children.
WriteElementStart
protected WriteElementStart(XmlWriter writer)
WriteEncodedAttributeStringOverloaded.
WriteEncodedElementStringOverloaded.
WriteEncodedStringOverloaded.
WriteLocalDateTimeElement
Writes out a LOCAL datetime in ISO 8601 format.

Properties

  NameDescription
Base
calculates or set's the base uri of an element
Dirty
The dirty property - indicates if exactly this element is dirty
ExtensionElements
read only accessor for the ExtensionsElements Collections
ExtensionFactories
read only accessor for the Extension Factories
ImpliedBase
property that holds the implied base URI
Language
returns and sets the xml:lang value
ProtocolMajor
returns the major protocol version number this element is working against.
ProtocolMinor
returns the minor protocol version number this element is working against.
XmlName
Returns the XML name as string used for the element when persisting.

See Also