Searched refs:HTML (Results 1 - 13 of 13) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
H A DHTML4.java27 * HTML4 contains HTML 4.0 definitions and specifications
37 private static final HashMap<String,HTML.Element> elements = Maps.newHashMap();
40 private static final HashMap<String,HTML.Attribute> attributes = Maps.newHashMap();
47 public HTML.Element lookupElement(String name) {
54 public HTML.Attribute lookupAttribute(String name) {
65 public static HTML.Element lookupElement(String name) {
70 public static HTML.Attribute lookupAttribute(String name) {
78 public static Map<String, HTML.Element> getAllElements() {
86 public static Map<String, HTML.Attribute> getAllAttributes() {
91 private static HTML
[all...]
H A DHtmlWhitelist.java20 * looking up accepted HTML elements and attributes.
26 * Looks up the HTML.Element object associated with the given element tag
30 * @return The HTML.Element object associated with the given element tag name,
33 HTML.Element lookupElement(String name);
36 * Looks up the HTML.Attribute object associated with the given attribute
40 * @return The HTML.Attribute object associated with the given attribute name,
43 HTML.Attribute lookupAttribute(String name);
H A DHTML.java23 * HTML class defines Element and Attribute classes.
27 public final class HTML { class
121 * @return just name, not proper HTML
133 if (o instanceof HTML.Element) {
134 HTML.Element that = (HTML.Element) o;
213 * @return Element name (name only, not proper HTML).
225 if (o instanceof HTML.Attribute) {
226 HTML.Attribute that = (HTML
[all...]
H A DHtmlTreeBuilder.java39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>();
72 HTML.Element element = t.getElement();
98 HTML.Element element = t.getElement();
129 private int findStartTag(HTML.Element element) {
131 HTML.Element e = stack.get(i);
144 HTML.Element element = pop();
152 private void push(HTML.Element element) {
157 private HTML.Element pop() {
196 HTML
[all...]
H A DHtmlDocument.java56 /** Returns a HTML string for the current document */
87 /** Returns the HTML document in debug format */
97 * @see HtmlDocument#createTag(HTML.Element, List, String, String)
99 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) {
105 * @see HtmlDocument.Tag#Tag(HTML.Element, List, boolean, String, String)
107 public static Tag createTag(HTML.Element element,
116 * @see HtmlDocument#createSelfTerminatingTag(HTML.Element, List, String, String)
118 public static Tag createSelfTerminatingTag(HTML.Element element,
125 * @see HtmlDocument#createTag(HTML.Element, List, String, String)
127 public static Tag createSelfTerminatingTag(HTML
644 ORIGINAL_HTML, HTML, XHTML enum constant in enum:HtmlDocument.Tag.SerializeType
[all...]
H A DHtmlTree.java271 StringBuilder debug = new StringBuilder("Returning unbalanced HTML:\n");
286 * Returns height (maximum length from root to a leaf) of the HTML tree.
287 * @return height of the HTML tree.
585 * Determines if the given character is considered an HTML space character.
586 * Consecutive HTML space characters are collapsed into a single space when
657 * Normalizes the HTML whitespace in the given {@code text} and appends it
807 private static final Set<HTML.Element> BLANK_LINE_ELEMENTS =
834 HTML.Element element = tag.getElement();
864 HTML.Element element = endTag.getElement();
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHTML4.java28 * HTML4 contains HTML 4.0 definitions and specifications
38 private static final HashMap<String,HTML.Element> elements = Maps.newHashMap();
41 private static final HashMap<String,HTML.Attribute> attributes = Maps.newHashMap();
48 public HTML.Element lookupElement(String name) {
55 public HTML.Attribute lookupAttribute(String name) {
66 public static HTML.Element lookupElement(String name) {
71 public static HTML.Attribute lookupAttribute(String name) {
79 public static Map<String, HTML.Element> getAllElements() {
87 public static Map<String, HTML.Attribute> getAllAttributes() {
92 private static HTML
[all...]
H A DHtmlWhitelist.java21 * looking up accepted HTML elements and attributes.
27 * Looks up the HTML.Element object associated with the given element tag
31 * @return The HTML.Element object associated with the given element tag name,
34 HTML.Element lookupElement(String name);
37 * Looks up the HTML.Attribute object associated with the given attribute
41 * @return The HTML.Attribute object associated with the given attribute name,
44 HTML.Attribute lookupAttribute(String name);
H A DHTML.java24 * HTML class defines Element and Attribute classes.
28 public final class HTML { class
122 * @return just name, not proper HTML
134 if (o instanceof HTML.Element) {
135 HTML.Element that = (HTML.Element) o;
214 * @return Element name (name only, not proper HTML).
226 if (o instanceof HTML.Attribute) {
227 HTML.Attribute that = (HTML
[all...]
H A DHtmlTreeBuilder.java39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>();
72 HTML.Element element = t.getElement();
98 HTML.Element element = t.getElement();
129 private int findStartTag(HTML.Element element) {
131 HTML.Element e = stack.get(i);
144 HTML.Element element = pop();
152 private void push(HTML.Element element) {
157 private HTML.Element pop() {
196 HTML
[all...]
H A DHtmlDocument.java57 /** Returns a HTML string for the current document */
88 /** Returns the HTML document in debug format */
98 * @see HtmlDocument#createTag(HTML.Element, List, String, String)
100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) {
106 * @see HtmlDocument.Tag#Tag(HTML.Element, List, boolean, String, String)
108 public static Tag createTag(HTML.Element element,
117 * @see HtmlDocument#createSelfTerminatingTag(HTML.Element, List, String, String)
119 public static Tag createSelfTerminatingTag(HTML.Element element,
126 * @see HtmlDocument#createTag(HTML.Element, List, String, String)
128 public static Tag createSelfTerminatingTag(HTML
645 ORIGINAL_HTML, HTML, XHTML enum constant in enum:HtmlDocument.Tag.SerializeType
[all...]
H A DHtmlTree.java304 StringBuilder debug = new StringBuilder("Returning unbalanced HTML:\n");
319 * Returns height (maximum length from root to a leaf) of the HTML tree.
320 * @return height of the HTML tree.
619 * Determines if the given character is considered an HTML space character.
620 * Consecutive HTML space characters are collapsed into a single space when
691 * Normalizes the HTML whitespace in the given {@code text} and appends it
841 private static final Set<HTML.Element> BLANK_LINE_ELEMENTS =
872 HTML.Element element = tag.getElement();
904 HTML.Element element = endTag.getElement();
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java63 import com.google.android.mail.common.html.parser.HTML;
1507 private static final HTML.Attribute ELIDED_TEXT_ATTRIBUTE =
1508 new HTML.Attribute(ELIDED_TEXT_ELEMENT_ATTRIBUTE_NAME, HTML.Attribute.NO_TYPE);
1529 final HTML.Element htmlElement = htmlTag.getElement();

Completed in 156 milliseconds