| Interface | Description |
|---|---|
| HtmlParser |
Methods exposed for HTML parsing of text to facilitate implementation
of Automatic context-aware escaping.
|
| JavascriptParser |
Methods exposed for Javascript parsing of text to facilitate implementation
of Automatic context-aware escaping.
|
| Parser |
Defines essential functionality that every parser we implement
will support.
|
| Class | Description |
|---|---|
| ExternalState |
A representation of the parser state suitable for use by the caller
of the Parser.
|
| HtmlParserFactory |
A factory class to obtain instances of an
HtmlParser. |
| JavascriptParserFactory |
A factory class to obtain instances of an
JavascriptParser. |
| Enum | Description |
|---|---|
| HtmlParser.ATTR_TYPE |
Indicates the type of HTML attribute that the parser is currently in or
NONE if the parser is not currently in an attribute. |
| HtmlParser.Mode |
The Parser Mode requested for parsing a given template.
|
| HtmlParserFactory.AttributeOptions |
To provide additional options when creating an
HtmlParser using
HtmlParserFactory.createParserInAttribute(HtmlParser.ATTR_TYPE,
boolean, Set) |
| HtmlParserFactory.ModeOptions |
To provide additional options when creating an
HtmlParser using
HtmlParserFactory.createParserInMode(HtmlParser.Mode, Set) |
| Exception | Description |
|---|---|
| ParseException |
Checked exception thrown on an unrecoverable error during parsing.
|
Copyright © 2010–2015 Google. All rights reserved.