[Htmlparser-cvs] htmlparser/src/org/htmlparser/parserHelper SpecialHashtable.java,1.2,1.3
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-08-23 19:15:25
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserHelper In directory sc8-pr-cvs1:/tmp/cvs-serv20167/parserHelper Modified Files: SpecialHashtable.java Log Message: Sixth drop for new i/o subsystem. Isolated htmllexer.jar file and made it compileable and runnable on JDK 1.1 systems. The build.xml file now has four new targets for separate compiling and jaring of the lexer and parser. Significantly refactored the existing Node interface and AbstractNode class to achieve isolation. They now support get/setChildren(), rather than CompositeTag. Various scanners that were directly accessing the childTags node list were affected. The get/setParent is now a generic Node rather than a CompositeTag. The visitor accept() signature was changed to Object to avoid dragging in visitors code. This was *not* changed on classes derived from Tag, although it could be. ChainedException now uses/returns a Vector. Removed the cruft from lexer nodes where possible. Index: SpecialHashtable.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/parserHelper/SpecialHashtable.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SpecialHashtable.java 11 Aug 2003 00:18:29 -0000 1.2 --- SpecialHashtable.java 23 Aug 2003 17:14:45 -0000 1.3 *************** *** 30,34 **** import java.util.Hashtable; - import org.htmlparser.tags.Tag; /** --- 30,33 ---- *************** *** 75,81 **** ret = getRaw (key); ! if (Tag.NULLVALUE == ret) ret = null; ! else if (Tag.NOTHING == ret) ret = ""; --- 74,80 ---- ret = getRaw (key); ! if ("$<NULL>$" == ret) ret = null; ! else if ("$<NOTHING>$" == ret) ret = ""; |