001package org.jsoup.nodes;
002
003import org.jsoup.internal.QuietAppendable;
004import org.jsoup.parser.Tag;
005
006/**
007 * Represents a {@link TextNode} as an {@link Element}, to enable text nodes to be selected with
008 * the {@link org.jsoup.select.Selector} {@code :matchText} syntax.
009 * @Deprecated use {@link Element#selectNodes(String, Class)} instead, with selector of <code>::textnode</code> and class <code>TextNode</code>.
010 */
011@Deprecated
012public class PseudoTextElement extends Element {
013
014    public PseudoTextElement(Tag tag, String baseUri, Attributes attributes) {
015        super(tag, baseUri, attributes);
016    }
017
018    @Override
019    void outerHtmlHead(QuietAppendable accum, Document.OutputSettings out) {
020    }
021
022    @Override
023    void outerHtmlTail(QuietAppendable accum, Document.OutputSettings out) {
024    }
025}