Searched refs:nodes (Results 1 - 10 of 10) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DJJTAddressListParserState.java6 private java.util.Stack<Node> nodes; field in class:JJTAddressListParserState
9 private int sp; // number of nodes on stack
14 nodes = new java.util.Stack<Node>();
30 nodes.removeAllElements();
39 return nodes.elementAt(0);
44 nodes.push(n);
54 return nodes.pop();
59 return nodes.peek();
85 children. That number of nodes are popped from the stack and
102 the nodes tha
[all...]
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DElementSequentialTimeContainerImpl.java47 ArrayList<Node> nodes = new ArrayList<Node>();
51 nodes.add(allChildren.item(i));
52 return new NodeListImpl(nodes);
55 return new NodeListImpl(nodes);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlTree.java39 * of the tree, we simply keeps a linear list of nodes (in-order).
41 * nodes:
100 /** Contains html nodes */
101 private final List<HtmlDocument.Node> nodes = new ArrayList<HtmlDocument.Node>(); field in class:HtmlTree
143 * @return the nodes of the tree
146 return Collections.unmodifiableList(nodes);
150 * @return number of nodes
153 return nodes.size();
161 X.assertTrue(endTagNodeNum >= 0 && endTagNodeNum < nodes.size());
170 X.assertTrue(openTagNodeNum >= 0 && openTagNodeNum < nodes
[all...]
H A DHtmlParser.java60 // The entire array of nodes
61 private List<HtmlDocument.Node> nodes; field in class:HtmlParser
189 // Use a LinkedList because we don't know the number of nodes ahead of
191 nodes = Lists.newLinkedList();
235 nodes = coalesceTextNodes(nodes);
237 HtmlDocument doc = new HtmlDocument(nodes);
238 nodes = null;
244 * During the course of parsing, we may have multiple adjacent Text nodes,
245 * due to the sanitizer stripping out nodes betwee
251 coalesceTextNodes( List<HtmlDocument.Node> nodes) argument
[all...]
H A DHtmlDocument.java33 * HtmlDocument is a container for a list of html nodes, and represents the
42 private final List<Node> nodes; field in class:HtmlDocument
46 * @param nodes list of html nodes
48 public HtmlDocument(List<Node> nodes) { argument
49 this.nodes = nodes;
52 /** Gets the list of nodes */
54 return nodes;
59 StringBuilder sb = new StringBuilder(nodes
1167 private final List<Node> nodes = new ArrayList<Node>(); field in class:HtmlDocument.Builder
[all...]
/packages/apps/Mms/src/com/android/mms/dom/
H A DNodeListImpl.java53 * @param nodes The static node list.
55 public NodeListImpl(ArrayList<Node> nodes) { argument
56 mStaticNodes = nodes;
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
H A DHtmlTree.java38 * of the tree, we simply keeps a linear list of nodes (in-order).
40 * nodes:
96 /** Contains html nodes */
97 private final List<HtmlDocument.Node> nodes = new ArrayList<HtmlDocument.Node>(); field in class:HtmlTree
139 * @return the nodes of the tree
142 return Collections.unmodifiableList(nodes);
146 * @return number of nodes
149 return nodes.size();
165 html = getHtml(0, nodes.size(), wrapSize);
180 X.assertTrue(fromNode >= 0 && toNode <= nodes
[all...]
H A DHtmlParser.java60 // The entire array of nodes
61 private List<HtmlDocument.Node> nodes; field in class:HtmlParser
189 // Use a LinkedList because we don't know the number of nodes ahead of
191 nodes = Lists.newLinkedList();
235 nodes = coalesceTextNodes(nodes);
237 HtmlDocument doc = new HtmlDocument(nodes);
238 nodes = null;
244 * During the course of parsing, we may have multiple adjacent Text nodes,
245 * due to the sanitizer stripping out nodes betwee
251 coalesceTextNodes( List<HtmlDocument.Node> nodes) argument
[all...]
H A DHtmlDocument.java32 * HtmlDocument is a container for a list of html nodes, and represents the
41 private final List<Node> nodes; field in class:HtmlDocument
45 * @param nodes list of html nodes
47 public HtmlDocument(List<Node> nodes) { argument
48 this.nodes = nodes;
51 /** Gets the list of nodes */
53 return nodes;
58 StringBuilder sb = new StringBuilder(nodes
1166 private final List<Node> nodes = new ArrayList<Node>(); field in class:HtmlDocument.Builder
[all...]
/packages/apps/UnifiedEmail/assets/
H A Dscript.js199 var nodes;
231 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("div[style], textarea[style]") : [];
232 touched = transformBlockElements(nodes, docWidth, actionLog);
247 nodes = ENABLE_MUNGE_IMAGES ? el.querySelectorAll("img") : [];
248 touched = transformImages(nodes, docWidth, actionLog);
266 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("table") : [];
267 touched = addClassToElements(nodes, shouldMungeTable, "munged",
285 nodes = ENABLE_MUNGE_TABLES ? el.querySelectorAll("td") : [];
286 touched = addClassToElements(nodes, null /* mungeAll */, "munged",
360 function addClassToElements(nodes, conditionF
[all...]

Completed in 184 milliseconds