[Htmlparser-cvs] htmlparser/src/org/htmlparser/beans StringBean.java,1.40,1.41
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2004-05-24 16:18:53
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/beans In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19028/src/org/htmlparser/beans Modified Files: StringBean.java Log Message: Part three of a multiphase refactoring. The three node types are now fronted by interfaces (program to the interface paradigm) with concrete implementations in the new htmlparser.nodes package. Classes from the lexer.nodes package are moved to this package, and obvious references to the concrete classes that got broken by this have been changed to use the interfaces where possible. Index: StringBean.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/beans/StringBean.java,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** StringBean.java 24 May 2004 00:38:16 -0000 1.40 --- StringBean.java 24 May 2004 16:18:12 -0000 1.41 *************** *** 33,37 **** import org.htmlparser.Parser; ! import org.htmlparser.StringNode; import org.htmlparser.tags.LinkTag; import org.htmlparser.Tag; --- 33,37 ---- import org.htmlparser.Parser; ! import org.htmlparser.Text; import org.htmlparser.tags.LinkTag; import org.htmlparser.Tag; *************** *** 607,611 **** * @param string The text node. */ ! public void visitStringNode (StringNode string) { if (!mIsScript && !mIsStyle) --- 607,611 ---- * @param string The text node. */ ! public void visitStringNode (Text string) { if (!mIsScript && !mIsStyle) |