Author: bombe
Date: 2007-11-03 20:10:33 +0000 (Sat, 03 Nov 2007)
New Revision: 15679
Modified:
trunk/freenet/src/freenet/support/
trunk/freenet/src/freenet/support/HTMLNode.java
Log:
r12817 at natrium: bombe | 2007-11-02 14:25:03 +0100
add constructor
Property changes on: trunk/freenet/src/freenet/support
___________________________________________________________________
Name: svk:merge
-
6a5e1407-ac3d-0410-81af-9028a69beae8:/branch/freenet-documentation-browser/src/freenet/support:12816
+
6a5e1407-ac3d-0410-81af-9028a69beae8:/branch/freenet-documentation-browser/src/freenet/support:12817
Modified: trunk/freenet/src/freenet/support/HTMLNode.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLNode.java 2007-11-03 20:09:51 UTC
(rev 15678)
+++ trunk/freenet/src/freenet/support/HTMLNode.java 2007-11-03 20:10:33 UTC
(rev 15679)
@@ -39,6 +39,10 @@
this(name, new String[] { attributeName }, new String[] {
attributeValue }, content);
}
+ public HTMLNode(String name, String[] attributeNames, String[]
attributeValues) {
+ this(name, attributeNames, attributeValues, null);
+ }
+
public HTMLNode(String name, String[] attributeNames, String[]
attributeValues, String content) {
Matcher nameMatcher = namePattern.matcher(name);