[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit HTMLSegment.java,NONE,1.1 ParsedHTML.java
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2001-04-02 01:53:25
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit
In directory usw-pr-cvs1:/tmp/cvs-serv16641/src/com/meterware/httpunit
Modified Files:
ParsedHTML.java TableCell.java WebResponse.java
Added Files:
HTMLSegment.java
Log Message:
Add JavaDoc for TableCell public methods
***** Error reading new file[Errno 2] No such file or directory: 'HTMLSegment.java'
Index: ParsedHTML.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/ParsedHTML.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ParsedHTML.java 2000/12/27 20:02:17 1.13
+++ ParsedHTML.java 2001/04/02 01:53:21 1.14
@@ -2,7 +2,7 @@
/********************************************************************************************************************
* $Id$
*
-* Copyright (c) 2000, Russell Gold
+* Copyright (c) 2000-2001, Russell Gold
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
@@ -19,8 +19,6 @@
* DEALINGS IN THE SOFTWARE.
*
*******************************************************************************************************************/
-import java.util.Vector;
-
import java.net.URL;
import java.util.Vector;
Index: TableCell.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/TableCell.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TableCell.java 2000/12/27 20:02:17 1.5
+++ TableCell.java 2001/04/02 01:53:21 1.6
@@ -2,7 +2,7 @@
/********************************************************************************************************************
* $Id$
*
-* Copyright (c) 2000, Russell Gold
+* Copyright (c) 2000-2001, Russell Gold
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
@@ -30,7 +30,7 @@
/**
* A single cell in an HTML table.
**/
-public class TableCell extends ParsedHTML {
+public class TableCell extends ParsedHTML implements HTMLSegment {
/**
@@ -57,6 +57,14 @@
}
+ /**
+ * Returns a copy of the domain object model associated with this HTML segment.
+ **/
+ public Node getDOM() {
+ return super.getDOM();
+ }
+
+
//---------------------------------------- package methods -----------------------------------------
Index: WebResponse.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/WebResponse.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- WebResponse.java 2001/03/23 19:13:27 1.30
+++ WebResponse.java 2001/04/02 01:53:21 1.31
@@ -46,7 +46,7 @@
* A response from a web server to a web request.
**/
abstract
-public class WebResponse {
+public class WebResponse implements HTMLSegment {
/**
@@ -167,6 +167,8 @@
}
+//---------------------- HTMLSegment methods -----------------------------
+
/**
* Returns the forms found in the page in the order in which they appear.
* @exception SAXException thrown if there is an error parsing the response.
@@ -282,6 +284,9 @@
public WebTable getTableWithID( String text ) throws SAXException {
return getReceivedPage().getTableWithID( text );
}
+
+
+//---------------------------------------- Object methods --------------------------------------------
public String toString() {
|