Examples of toPlainTextString()


Examples of org.htmlparser.tags.LinkTag.toPlainTextString()

        String html = "<a href=Cities/><b>Cities</b></a>";
        createParser (html);
        parseAndAssertNodeCount (1);
        assertType("node", LinkTag.class, node[0]);
        LinkTag linkTag = (LinkTag)node[0];
        assertEquals ("plain text", "Cities", linkTag.toPlainTextString ());
    }

    /**
     * See bug #982175 False Positives on &reg; entity
     */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.