/**@class android.text.Html
@extends java.lang.Object

 This class processes HTML strings into displayable styled text.
 Not all HTML tags are supported.
*/
var Html = {

/** Option for {@link #toHtml(Spanned, int)}: Wrap consecutive lines of text delimited by '\n'
 inside <p> elements. {@link BulletSpan}s are ignored.
*/
TO_HTML_PARAGRAPH_LINES_CONSECUTIVE : "0",
/** Option for {@link #toHtml(Spanned, int)}: Wrap each line of text delimited by '\n' inside a
 <p> or a <li> element. This allows {@link ParagraphStyle}s attached to be
 encoded as CSS styles within the corresponding <p> or <li> element.
*/
TO_HTML_PARAGRAPH_LINES_INDIVIDUAL : "1",
/** Flag indicating that texts inside <p> elements will be separated from other texts with
 one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH : "1",
/** Flag indicating that texts inside <h1>~<h6> elements will be separated from
 other texts with one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_HEADING : "2",
/** Flag indicating that texts inside <li> elements will be separated from other texts
 with one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM : "4",
/** Flag indicating that texts inside <ul> elements will be separated from other texts
 with one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_LIST : "8",
/** Flag indicating that texts inside <div> elements will be separated from other texts
 with one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_DIV : "16",
/** Flag indicating that texts inside <blockquote> elements will be separated from other
 texts with one newline character by default.
*/
FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE : "32",
/** Flag indicating that CSS color values should be used instead of those defined in
 {@link Color}.
*/
FROM_HTML_OPTION_USE_CSS_COLORS : "256",
/** Flags for {@link #fromHtml(String, int, ImageGetter, android.text.Html.TagHandler)}: Separate block-level
 elements with blank lines (two newline characters) in between. This is the legacy behavior
 prior to N.
*/
FROM_HTML_MODE_LEGACY : "0",
/** Flags for {@link #fromHtml(String, int, ImageGetter, android.text.Html.TagHandler)}: Separate block-level
 elements with line breaks (single newline character) in between. This inverts the
 {@link android.text.Spanned} to HTML string conversion done with the option
 {@link #TO_HTML_PARAGRAPH_LINES_INDIVIDUAL}.
*/
FROM_HTML_MODE_COMPACT : "63",
/**Returns displayable styled text from the provided HTML string with the legacy flags
 {@link #FROM_HTML_MODE_LEGACY}.
@deprecated use {@link #fromHtml(String, int)} instead.
*/
fromHtml : function(  ) {},

/**Returns displayable styled text from the provided HTML string. Any <img> tags in the
 HTML will display as a generic replacement image which your program can then go through and
 replace with real images.

 <p>This uses TagSoup to handle real HTML, including all of the brokenness found in the wild.
*/
fromHtml : function(  ) {},

/**Returns displayable styled text from the provided HTML string with the legacy flags
 {@link #FROM_HTML_MODE_LEGACY}.
@deprecated use {@link #fromHtml(String, int, ImageGetter, TagHandler)} instead.
*/
fromHtml : function(  ) {},

/**Returns displayable styled text from the provided HTML string. Any &lt;img&gt; tags in the
 HTML will use the specified ImageGetter to request a representation of the image (use null
 if you don't want this) and the specified TagHandler to handle unknown tags (specify null if
 you don't want this).

 <p>This uses TagSoup to handle real HTML, including all of the brokenness found in the wild.
*/
fromHtml : function(  ) {},

/**
@deprecated use {@link #toHtml(Spanned, int)} instead.
*/
toHtml : function(  ) {},

/**Returns an HTML representation of the provided Spanned text. A best effort is
 made to add HTML tags corresponding to spans. Also note that HTML metacharacters
 (such as "&lt;" and "&amp;") within the input text are escaped.
@param {Object {Spanned}} text input text to convert
@param {Number} option one of {@link #TO_HTML_PARAGRAPH_LINES_CONSECUTIVE} or
     {@link #TO_HTML_PARAGRAPH_LINES_INDIVIDUAL}
@return {String} string containing input converted to HTML
*/
toHtml : function(  ) {},

/**Returns an HTML escaped representation of the given plain text.
*/
escapeHtml : function(  ) {},


};