WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/feed-textconstruct;1

This component implements the following interfaces:

Properties

nsIURI nsIFeedTextConstruct.base

If the text construct contains (X)HTML, relative references in the content should be resolved against this base URI.

AString nsIFeedTextConstruct.lang

The language of the text. For example, "en-US" for US English.

AString nsIFeedTextConstruct.text

The content of the text construct.

AString nsIFeedTextConstruct.type

One of "text", "html", or "xhtml". If the type is (x)html, a '<' character represents markup. To display that character, an escape such as < must be used. If the type is "text", the '<' character represents the character itself, and such text should not be embedded in markup without escaping it first.

Methods

InterfaceMethod
nsIFeedTextConstruct nsIDOMDocumentFragment createDocumentFragment ( nsIDOMElement element )
nsIFeedTextConstruct AString plainText ( )

Reference documentation is generated from Mozilla's source.