Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/nodeDecorators
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4510/src/org/htmlparser/nodeDecorators
Modified Files:
AbstractNodeDecorator.java
Log Message:
Add methods first/last child previous/next sibling added to AbstractNode.
This is required to enable the project to compile.
Index: AbstractNodeDecorator.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/nodeDecorators/AbstractNodeDecorator.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** AbstractNodeDecorator.java 10 Apr 2005 23:20:43 -0000 1.23
--- AbstractNodeDecorator.java 1 Nov 2005 08:55:24 -0000 1.24
***************
*** 244,247 ****
--- 244,263 ----
delegate.setChildren (children);
}
+
+ public Node getFirstChild (){
+ return delegate.getFirstChild();
+ }
+
+ public Node getLastChild (){
+ return delegate.getLastChild();
+ }
+
+ public Node getPreviousSibling (){
+ return delegate.getPreviousSibling();
+ }
+
+ public Node getNextSibling (){
+ return delegate.getNextSibling();
+ }
public void setText(String text) {
|