Struct xpcom::interfaces::nsIFeedContainer [] [src]

#[repr(C)]
pub struct nsIFeedContainer { /* fields omitted */ }

interface nsIFeedContainer : nsIFeedElementBase

/**
 * A shared base for feeds and items, which are pretty similar,
 * but they have some divergent attributes and require
 * different convenience methods.
 */

Methods

impl nsIFeedContainer
[src]

[src]

Cast this nsIFeedContainer to one of its base interfaces.

impl nsIFeedContainer
[src]

[src]

/**
  * Many feeds contain an ID distinct from their URI, and
  * entries have standard fields for this in all major formats.
  */

attribute AString id;

[src]

/**
  * Many feeds contain an ID distinct from their URI, and
  * entries have standard fields for this in all major formats.
  */

attribute AString id;

[src]

/**
  * The fields found in the document. Common Atom
  * and RSS fields are normalized. This includes some namespaced
  * extensions such as dc:subject and content:encoded.
  * Consumers can avoid normalization by checking the feed type
  * and accessing specific fields.
  *
  * Common namespaces are accessed using prefixes, like get("dc:subject");.
  * See nsIFeedResult::registerExtensionPrefix.
  */

attribute nsIWritablePropertyBag2 fields;

[src]

/**
  * The fields found in the document. Common Atom
  * and RSS fields are normalized. This includes some namespaced
  * extensions such as dc:subject and content:encoded.
  * Consumers can avoid normalization by checking the feed type
  * and accessing specific fields.
  *
  * Common namespaces are accessed using prefixes, like get("dc:subject");.
  * See nsIFeedResult::registerExtensionPrefix.
  */

attribute nsIWritablePropertyBag2 fields;

[src]

/**
   * Sometimes there's no title, or the title contains markup, so take
   * care in decoding the attribute.
   */

attribute nsIFeedTextConstruct title;

[src]

/**
   * Sometimes there's no title, or the title contains markup, so take
   * care in decoding the attribute.
   */

attribute nsIFeedTextConstruct title;

/**
  * Returns the primary link for the feed or entry.
  */

attribute nsIURI link;

/**
  * Returns the primary link for the feed or entry.
  */

attribute nsIURI link;

/**
  * Returns all links for a feed or entry.
  */

attribute nsIArray links;

/**
  * Returns all links for a feed or entry.
  */

attribute nsIArray links;

[src]

/**
  * Returns the categories found in a feed or entry.
  */

attribute nsIArray categories;

[src]

/**
  * Returns the categories found in a feed or entry.
  */

attribute nsIArray categories;

[src]

/**
   * The rights or license associated with a feed or entry.
   */

attribute nsIFeedTextConstruct rights;

[src]

/**
   * The rights or license associated with a feed or entry.
   */

attribute nsIFeedTextConstruct rights;

[src]

/**
   * A list of nsIFeedPersons that authored the feed.
   */

attribute nsIArray authors;

[src]

/**
   * A list of nsIFeedPersons that authored the feed.
   */

attribute nsIArray authors;

[src]

/**
   * A list of nsIFeedPersons that contributed to the feed.
   */

attribute nsIArray contributors;

[src]

/**
   * A list of nsIFeedPersons that contributed to the feed.
   */

attribute nsIArray contributors;

[src]

/**
   * The date the feed was updated, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString updated;

[src]

/**
   * The date the feed was updated, in RFC822 form. Parsable by JS
   * and mail code.
   */

attribute AString updated;

[src]

/**
  * Syncs a container's fields with its convenience attributes.
  */

void normalize ();

Methods from Deref<Target = nsIFeedElementBase>

[src]

Cast this nsIFeedElementBase to one of its base interfaces.

[src]

/**
   * The attributes found on the element. Most interfaces provide convenience
   * accessors for their standard fields, so this useful only when looking for
   * an extension.
   */

attribute nsISAXAttributes attributes;

[src]

/**
   * The attributes found on the element. Most interfaces provide convenience
   * accessors for their standard fields, so this useful only when looking for
   * an extension.
   */

attribute nsISAXAttributes attributes;

[src]

/**
   * The baseURI for the Entry or Feed.
   */

attribute nsIURI baseURI;

[src]

/**
   * The baseURI for the Entry or Feed.
   */

attribute nsIURI baseURI;

Trait Implementations

impl XpCom for nsIFeedContainer
[src]

IID: nsIID = nsID(1467620172, 46036, 19574, [156, 248, 117, 62, 102, 6, 17, 79])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIFeedContainer
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIFeedContainer
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.