OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HtmlDocument
(Results
1 - 7
of
7
) sorted by null
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HtmlTreeBuilder.java
19
import com.google.android.mail.common.html.parser.
HtmlDocument
.EndTag;
34
public class HtmlTreeBuilder implements
HtmlDocument
.Visitor {
50
/** Implements
HtmlDocument
.Visitor.start */
56
/** Implements
HtmlDocument
.Visitor.finish */
68
/** Implements
HtmlDocument
.Visitor.visitTag */
69
public void visitTag(
HtmlDocument
.Tag t) {
82
tree.addStartTag(
HtmlDocument
.createTag(element,
85
EndTag end =
HtmlDocument
.createEndTag(element);
95
public void visitEndTag(
HtmlDocument
.EndTag t) {
117
/** Implements
HtmlDocument
.Visitor.visitText *
[
all
...]
HtmlParser.java
61
private List<
HtmlDocument
.Node> nodes;
187
public
HtmlDocument
parse(String html) {
237
HtmlDocument
doc = new
HtmlDocument
(nodes);
251
static List<
HtmlDocument
.Node> coalesceTextNodes(
252
List<
HtmlDocument
.Node> nodes) {
253
List<
HtmlDocument
.Node> out =
254
new ArrayList<
HtmlDocument
.Node>(nodes.size());
255
LinkedList<
HtmlDocument
.Text> textNodes = Lists.newLinkedList();
257
for (
HtmlDocument
.Node node : nodes)
[
all
...]
HtmlTree.java
79
void addNode(
HtmlDocument
.Node n, int nodeNum, int endNum);
102
private final List<
HtmlDocument
.Node> nodes = new ArrayList<
HtmlDocument
.Node>();
149
public List<
HtmlDocument
.Node> getNodesList() {
223
HtmlDocument
.Node node = nodes.get(n);
232
if ((node instanceof
HtmlDocument
.Tag &&
233
((
HtmlDocument
.Tag) node).getElement().breaksFlow()) ||
234
(node instanceof
HtmlDocument
.EndTag &&
235
((
HtmlDocument
.EndTag) node).getElement().breaksFlow())) {
273
HtmlDocument
.Node node = nodes.get(n)
[
all
...]
HtmlDocument.java
33
*
HtmlDocument
is a container for a list of html nodes, and represents the
40
public class
HtmlDocument
{
48
public
HtmlDocument
(List<Node> nodes) {
98
* @see
HtmlDocument
#createTag(HTML.Element, List, String, String)
106
* @see
HtmlDocument
.Tag#Tag(HTML.Element, List, boolean, String, String)
117
* @see
HtmlDocument
#createSelfTerminatingTag(HTML.Element, List, String, String)
126
* @see
HtmlDocument
#createTag(HTML.Element, List, String, String)
136
* @see
HtmlDocument
#createEndTag(HTML.Element, String)
143
* @see
HtmlDocument
.EndTag#EndTag(HTML.Element, String)
150
* @see
HtmlDocument
#createTagAttribute(HTML.Attribute, String, String
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
HtmlUtils.java
35
import com.google.android.mail.common.html.parser.
HtmlDocument
;
90
public void addNode(
HtmlDocument
.Node n, int nodeNum, int endNum) {
93
if (n instanceof
HtmlDocument
.Tag) {
94
handleStart((
HtmlDocument
.Tag) n);
95
} else if (n instanceof
HtmlDocument
.EndTag) {
96
handleEnd((
HtmlDocument
.EndTag) n);
112
protected void handleStart(
HtmlDocument
.Tag tag) {
122
protected void handleEnd(
HtmlDocument
.EndTag tag) {
145
HtmlDocument
.TagAttribute attr = lastSeen.tag.getAttribute(HTML4.HREF_ATTRIBUTE);
175
HtmlDocument
.TagAttribute attr = wrapper.tag.getAttribute(HTML4.COLOR_ATTRIBUTE)
[
all
...]
NotificationUtils.java
68
import com.google.android.mail.common.html.parser.
HtmlDocument
;
[
all
...]
Utils.java
65
import com.google.android.mail.common.html.parser.
HtmlDocument
;
371
final
HtmlDocument
doc = parser.parse(htmlText);
[
all
...]
Completed in 311 milliseconds