Thread: [Htmlparser-cvs] htmlparser/src/org/htmlparser/lexer InputStreamSource.java,1.2,1.3 Lexer.java,1.33,
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2005-02-13 22:46:01
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1683/src/org/htmlparser/lexer Modified Files: InputStreamSource.java Lexer.java Page.java PageAttribute.java Source.java StringSource.java Log Message: Update version to 1.5-20050213 Includes javadoc fixes and unit test regression fixes. Index: InputStreamSource.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/InputStreamSource.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InputStreamSource.java 17 Jul 2004 13:45:05 -0000 1.2 --- InputStreamSource.java 13 Feb 2005 22:45:47 -0000 1.3 *************** *** 579,583 **** * @param offset The offset of the first character. * @param length The number of characters to retrieve. - * @return A string containing the <code>length</code> characters at <code>offset</code>. * @exception IOException If the offset or (offset + length) is beyond * {@link #offset()} or the source is closed. --- 579,582 ---- Index: StringSource.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/StringSource.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StringSource.java 3 Jul 2004 13:56:08 -0000 1.1 --- StringSource.java 13 Feb 2005 22:45:47 -0000 1.2 *************** *** 366,370 **** * @param offset The offset of the first character. * @param length The number of characters to retrieve. - * @return A string containing the <code>length</code> characters at <code>offset</code>. * @exception IOException If the source is closed or an attempt is made to * read beyond {@link #offset()}. --- 366,369 ---- Index: Lexer.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Lexer.java,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** Lexer.java 2 Sep 2004 02:28:14 -0000 1.33 --- Lexer.java 13 Feb 2005 22:45:47 -0000 1.34 *************** *** 141,145 **** /** * Set the page this lexer is working on. ! * @return The page that nodes will be read from. */ public void setPage (Page page) --- 141,145 ---- /** * Set the page this lexer is working on. ! * @param page The page that nodes will be read from. */ public void setPage (Page page) *************** *** 361,365 **** * letter is encountered, or the input stream is exhausted, in which * case <code>null</code> is returned. ! * @param cursor The position at which to start scanning. * @param quotesmart If <code>true</code>, strings ignore quoted contents. */ --- 361,365 ---- * letter is encountered, or the input stream is exhausted, in which * case <code>null</code> is returned. ! * @param start The position at which to start scanning. * @param quotesmart If <code>true</code>, strings ignore quoted contents. */ *************** *** 575,579 **** * one slot for each whitespace or attribute/value pair. * The first slot is for attribute name (kind of like a standalone attribute). ! * @param cursor The position at which to start scanning. * @return The parsed tag. */ --- 575,579 ---- * one slot for each whitespace or attribute/value pair. * The first slot is for attribute name (kind of like a standalone attribute). ! * @param start The position at which to start scanning. * @return The parsed tag. */ *************** *** 808,812 **** * in the remark text. * We allow terminators like --!> even though this isn't part of the spec. ! * @param cursor The position at which to start scanning. * @param quotesmart If <code>true</code>, strings ignore quoted contents. */ --- 808,812 ---- * in the remark text. * We allow terminators like --!> even though this isn't part of the spec. ! * @param start The position at which to start scanning. * @param quotesmart If <code>true</code>, strings ignore quoted contents. */ *************** *** 913,917 **** * Scan characters until "%>" is encountered, or the input stream is * exhausted, in which case <code>null</code> is returned. ! * @param cursor The position at which to start scanning. */ protected Node parseJsp (int start) --- 913,917 ---- * Scan characters until "%>" is encountered, or the input stream is * exhausted, in which case <code>null</code> is returned. ! * @param start The position at which to start scanning. */ protected Node parseJsp (int start) Index: Source.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Source.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Source.java 3 Jul 2004 13:56:08 -0000 1.16 --- Source.java 13 Feb 2005 22:45:47 -0000 1.17 *************** *** 220,224 **** * @param offset The offset of the first character. * @param length The number of characters to retrieve. - * @return A string containing the <code>length</code> characters at <code>offset</code>. * @exception IOException If the source is closed or the offset or * (offset + length) is beyond {@link #offset()}. --- 220,223 ---- Index: Page.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Page.java,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** Page.java 6 Sep 2004 17:13:00 -0000 1.45 --- Page.java 13 Feb 2005 22:45:47 -0000 1.46 *************** *** 195,199 **** /** * Set the connection manager to use. ! * @return The connection manager. */ public static void setConnectionManager (ConnectionManager manager) --- 195,199 ---- /** * Set the connection manager to use. ! * @param manager The new connection manager. */ public static void setConnectionManager (ConnectionManager manager) Index: PageAttribute.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/PageAttribute.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PageAttribute.java 24 May 2004 16:18:16 -0000 1.1 --- PageAttribute.java 13 Feb 2005 22:45:47 -0000 1.2 *************** *** 367,372 **** * The part after the equals sign, or the text if it's just a whitepace * 'attribute'. This includes the quotes around the value if any. ! * @return The value, or <code>null</code> if it's a stand-alone attribute, ! * or the text if it's just a whitepace 'attribute'. * @see #getRawValue() */ --- 367,371 ---- * The part after the equals sign, or the text if it's just a whitepace * 'attribute'. This includes the quotes around the value if any. ! * @param buffer The string buffer to append the attribute value to. * @see #getRawValue() */ |