Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/nodes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15661/lexer/nodes
Modified Files:
TagNode.java
Log Message:
First pass refactoring.
Create Tag interface, which isn't really used yet.
Index: TagNode.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/nodes/TagNode.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** TagNode.java 14 Mar 2004 20:31:38 -0000 1.32
--- TagNode.java 20 Mar 2004 17:03:53 -0000 1.33
***************
*** 33,36 ****
--- 33,37 ----
import org.htmlparser.AbstractNode;
+ import org.htmlparser.Tag;
import org.htmlparser.lexer.Cursor;
import org.htmlparser.lexer.Lexer;
***************
*** 47,50 ****
--- 48,53 ----
extends
AbstractNode
+ implements
+ Tag
{
/**
***************
*** 273,276 ****
--- 276,289 ----
}
+ /*
+ * Sets the attributes.
+ * @param attribs The attribute collection to set.
+ * Each element is an {@link Attribute Attribute}.
+ */
+ public void setAttributeEx (Attribute attribute)
+ {
+ setAttribute (attribute);
+ }
+
/**
* Set an attribute.
|