001package org.jsoup.nodes;
002
003import org.jsoup.parser.Tag;
004
005/**
006 * Represents a {@link TextNode} as an {@link Element}, to enable text nodes to be selected with
007 * the {@link org.jsoup.select.Selector} {@code :matchText} syntax.
008 */
009public class PseudoTextElement extends Element {
010
011    public PseudoTextElement(Tag tag, String baseUri, Attributes attributes) {
012        super(tag, baseUri, attributes);
013    }
014
015    @Override
016    void outerHtmlHead(Appendable accum, int depth, Document.OutputSettings out) {
017    }
018
019    @Override
020    void outerHtmlTail(Appendable accum, int depth, Document.OutputSettings out) {
021    }
022}