The AtomEntry type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AtomEntry |
default AtomEntry constructor. Adds the AppControl element
as a default extension
|
Methods
| Name | Description | |
|---|---|---|
| AddExtension |
adding an extension factory for extension elements
(Inherited from AtomBase.) | |
| AddOtherNamespaces | checks to see if we are a batch feed, if so, adds the batchNS (Overrides AtomBase..::.AddOtherNamespaces(XmlWriter).) | |
| CopyEntry | takes the updated entry returned and sets the properties to this object | |
| 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
(Overrides AtomBase..::.CreateAtomSubElement(XmlReader, AtomFeedParser).) | |
| CreateExtension |
Creates an extension for a given name and namespace by walking the
extension factories list and calling CreateInstance for the right one
(Inherited from AtomBase.) | |
| Delete | deletes the item from the server | |
| DeleteExtensions |
Delete's all Extensions from the Extension list that match
a localName and a Namespace.
(Inherited from AtomBase.) | |
| Equals | (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
(Inherited from AtomBase.) | |
| FindExtensionFactory |
Finds the extension factory for a given name/namespace
(Inherited from AtomBase.) | |
| FindExtensions | Overloaded. | |
| GetAbsoluteUri | Read only accessor for AbsoluteUri. This is pushed down
whenever a base changes. (Inherited from AtomBase.) | |
| 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.) | |
| ImportFromFeed | helper method to create a new, decoupled entry based on a feedEntry | |
| IsDirty | returns if the element or one subelement is dirty (Inherited from AtomBase.) | |
| IsPersistable | checks if the element or one subelement are persistable (Inherited from AtomBase.) | |
| 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.
(Inherited from AtomBase.) | |
| Parse |
Parses the inner state of the element
| |
| ReplaceExtension |
all extension elements that match a namespace/localname
given will be removed and the new one will be inserted
(Inherited from AtomBase.) | |
| 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
(Inherited from AtomBase.) | |
| SaveInnerXml | saves the inner state of the element (Overrides AtomBase..::.SaveInnerXml(XmlWriter).) | |
| SaveToXml | Overloaded. | |
| SaveXmlAttributes | protected virtual int SaveXmlAttributes(XmlWriter writer) (Inherited from AtomBase.) | |
| 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.
(Inherited from AtomBase.) | |
| SkipNode | checks if this is a namespace
decl that we already added (Overrides AtomBase..::.SkipNode(XmlNode).) | |
| ToString | (Inherited from Object.) | |
| Update | commits the item to the server | |
| WalkTree | calls the action on this object and all children (Overrides AtomBase..::.WalkTree(IBaseWalkerAction).) |
Properties
| Name | Description | |
|---|---|---|
| AlternateUri | accessor to find the alternate link, in HTML only
The method scans the link collection for a link that is of type rel=alternate
and has a media type of HTML, otherwise it return NULL. The same is true for setting this.
If you need to use a rel/alternate with a different media type, you need
to use the links collection directly | |
| AppControl |
returns the app:control element
| |
| Authors | accessor method public Contributors AtomPersonCollection | |
| Base | calculates or set's the base uri of an element (Inherited from AtomBase.) | |
| BatchData | accessor to the batchdata for the entry | |
| Categories | holds an array of AtomCategory objects | |
| Content | accessor method public string Content | |
| Contributors | accessor method public Contributors AtomPersonCollection | |
| Dirty | The dirty property - indicates if exactly this element is dirty (Inherited from AtomBase.) | |
| EditUri | accessor method public Uri EditUri | |
| ExtensionElements | read only accessor for the ExtensionsElements Collections (Inherited from AtomBase.) | |
| ExtensionFactories |
read only accessor for the Extension Factories
(Inherited from AtomBase.) | |
| Feed | Read only accessor for feed | |
| FeedUri | accessor method public string Feed | |
| Id | accessor method public AtomId Id | |
| ImpliedBase | property that holds the implied base URI (Inherited from AtomBase.) | |
| IsDraft | specifies if app:control/app:draft is yes or no.
this is determined by walking the extension elements collection | |
| Language | returns and sets the xml:lang value (Inherited from AtomBase.) | |
| Links | accessor method public Links AtomLinkCollection | |
| MediaUri | accessor to find the edit-media link | |
| ProtocolMajor |
returns the major protocol version number this element
is working against.
(Inherited from AtomBase.) | |
| ProtocolMinor |
returns the minor protocol version number this element
is working against.
(Inherited from AtomBase.) | |
| Published | accessor method public DateTime PublicationDate | |
| ReadOnly | returns whether or not the entry is read-only | |
| Rights | accessor method public string rights | |
| SelfUri | accessor for the self URI | |
| Service | accessor method for the GData Service to use | |
| Source | if the entry was copied, represents the source | |
| Summary | accessor method public string Summary | |
| Title | accessor method public AtomTextConstruct Title | |
| Updated | accessor method public DateTime UpdateDate | |
| XmlName | Returns the constant representing this XML element. (Overrides AtomBase..::.XmlName.) |