Searched refs:Text (Results 1 – 6 of 6) sorted by relevance
168 public static Text createText(String text) { in createText()176 public static Text createText(String text, String original) { in createText()184 public static Text createEscapedText(String htmlText, String original) { in createEscapedText()329 public static abstract class Text extends Node { class in HtmlDocument345 protected Text(String originalHtml) { in Text() method in HtmlDocument.Text371 if (o instanceof Text) { in equals()372 Text that = (Text) o; in equals()442 private static class UnescapedText extends Text {463 private static class EscapedText extends Text {906 Text visitText(Text n); in visitText()[all …]
255 LinkedList<HtmlDocument.Text> textNodes = Lists.newLinkedList(); in coalesceTextNodes()258 if (node instanceof HtmlDocument.Text) { in coalesceTextNodes()259 textNodes.add((HtmlDocument.Text) node); in coalesceTextNodes()276 private static void mergeTextNodes(LinkedList<HtmlDocument.Text> textNodes, in mergeTextNodes()284 for (HtmlDocument.Text text : textNodes) { in mergeTextNodes()293 HtmlDocument.Text text = textNodes.removeFirst(); in mergeTextNodes()376 HtmlDocument.Text textnode = HtmlDocument.createEscapedText(htmlTail, originalHtml); in scanText()672 HtmlDocument.Text text = HtmlDocument.createText("<", preserveAll ? "<" : null); in scanTag()
893 if (n instanceof HtmlDocument.Text) { // A string node895 HtmlDocument.Text textNode = (HtmlDocument.Text) n;1030 void addText(HtmlDocument.Text t) { in addText()
118 public void visitText(HtmlDocument.Text t) { in visitText()253 void seeText(HtmlDocument.Text textNode) { in seeText()
41 return new Text(outputText); in newInstance()117 private static class Text extends ExpectedKeyOutput { class in ExpectedKeyOutput120 Text(final String text) { mText = text; } in Text() method in ExpectedKeyOutput.Text151 return (output instanceof Text) && mText == ((Text)output).mText; in hasSameKeyOutput()159 private static class CasePreservedText extends Text {
4627 interface Text