Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8914/src/org/htmlparser/util
Modified Files:
NodeList.java
Log Message:
FilterBuilder
Index: NodeList.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/util/NodeList.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** NodeList.java 31 Jul 2004 16:42:33 -0000 1.56
--- NodeList.java 13 Feb 2005 20:36:03 -0000 1.57
***************
*** 151,155 ****
}
! public String asHtml() {
StringBuffer buff = new StringBuffer();
for (int i=0;i<size;i++)
--- 151,170 ----
}
! /**
! * Convert this nodelist into the equivalent HTML.
! * @deprecated Use {@link #toHtml}.
! * @return The contents of the list as HTML text.
! */
! public String asHtml()
! {
! return (toHtml ());
! }
!
! /**
! * Convert this nodelist into the equivalent HTML.
! * @return The contents of the list as HTML text.
! */
! public String toHtml()
! {
StringBuffer buff = new StringBuffer();
for (int i=0;i<size;i++)
***************
*** 175,183 ****
}
! public String toString() {
StringBuffer text = new StringBuffer();
for (int i=0;i<size;i++)
! text.append(nodeData[i].toPlainTextString());
! return text.toString();
}
--- 190,204 ----
}
! /**
! * Return the contents of the list as a string.
! * Suitable for debugging.
! * @return A string representation of the list.
! */
! public String toString()
! {
StringBuffer text = new StringBuffer();
for (int i=0;i<size;i++)
! text.append (nodeData[i]);
! return (text.toString ());
}
|