[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests/lexerTests TagTests.java, 1.14, 1.15
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2006-06-06 02:18:44
|
Update of //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/lexerTests In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv19487/src/org/htmlparser/tests/lexerTests Modified Files: TagTests.java Log Message: Eliminate deprecated classes and methods. Removed nodeDecorator package, StringNodeFactory, LinkProcesor, SpecialHashTable, and methods for linkData, non-Ex Attributes and FindAllNodesThatAre. Index: TagTests.java =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/lexerTests/TagTests.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** TagTests.java 15 May 2005 11:49:05 -0000 1.14 --- TagTests.java 4 Jun 2006 19:17:21 -0000 1.15 *************** *** 31,34 **** --- 31,35 ---- import org.htmlparser.PrototypicalNodeFactory; import org.htmlparser.Tag; + import org.htmlparser.filters.NodeClassFilter; import org.htmlparser.tags.LinkTag; import org.htmlparser.tags.MetaTag; *************** *** 364,368 **** try { mResult = false; ! Node linkTag [] = mParser.extractAllNodesThatAre(LinkTag.class); mLink1 = (LinkTag)linkTag[0]; mLink2 = (LinkTag)linkTag[1]; --- 365,369 ---- try { mResult = false; ! Node linkTag [] = mParser.extractAllNodesThatMatch (new NodeClassFilter (LinkTag.class)).toNodeArray (); mLink1 = (LinkTag)linkTag[0]; mLink2 = (LinkTag)linkTag[1]; |