@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
| Interface | Method |
|---|---|
| nsIFeedTextConstruct |
nsIDOMDocumentFragment createDocumentFragment ( nsIDOMElement element )
|
| nsIFeedTextConstruct |
AString plainText ( )
|
Reference documentation is generated from Mozilla's source.
