[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: HTML DOM implementation
Kaffe CVS
cvs-commits at kaffe.org
Fri Mar 11 09:50:41 PST 2005
PatchSet 5519
Date: 2005/03/11 17:43:46
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: HTML DOM implementation
2005-03-11 Dalibor Topic <robilad at kaffe.org>
Resynced with GNU Classpath.
2005-03-09 Chris Burdess <dog at gnu.org>
* gnu/xml/dom/html2/DomHTMLAnchorElement.java,
gnu/xml/dom/html2/DomHTMLAppletElement.java,
gnu/xml/dom/html2/DomHTMLAreaElement.java,
gnu/xml/dom/html2/DomHTMLBaseElement.java,
gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
gnu/xml/dom/html2/DomHTMLBodyElement.java,
gnu/xml/dom/html2/DomHTMLBRElement.java,
gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java: New files.
Members:
ChangeLog:1.3693->1.3694
libraries/javalib/Makefile.am:1.323->1.324
libraries/javalib/Makefile.in:1.409->1.410
libraries/javalib/all.files:1.103->1.104
libraries/javalib/gnu/xml/dom/html2/DomHTMLAnchorElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLAppletElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLAreaElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLBRElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseFontElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLBodyElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLButtonElement.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLCollection.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java:INITIAL->1.1
libraries/javalib/gnu/xml/dom/html2/DomHTMLElement.java:INITIAL->1.1
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3693 kaffe/ChangeLog:1.3694
--- kaffe/ChangeLog:1.3693 Fri Mar 11 17:24:24 2005
+++ kaffe/ChangeLog Fri Mar 11 17:43:46 2005
@@ -2,6 +2,24 @@
Resynced with GNU Classpath.
+ 2005-03-09 Chris Burdess <dog at gnu.org>
+
+ * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
+ gnu/xml/dom/html2/DomHTMLAppletElement.java,
+ gnu/xml/dom/html2/DomHTMLAreaElement.java,
+ gnu/xml/dom/html2/DomHTMLBaseElement.java,
+ gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
+ gnu/xml/dom/html2/DomHTMLBodyElement.java,
+ gnu/xml/dom/html2/DomHTMLBRElement.java,
+ gnu/xml/dom/html2/DomHTMLButtonElement.java,
+ gnu/xml/dom/html2/DomHTMLCollection.java,
+ gnu/xml/dom/html2/DomHTMLDocument.java,
+ gnu/xml/dom/html2/DomHTMLElement.java: New files.
+
+2005-03-11 Dalibor Topic <robilad at kaffe.org>
+
+ Resynced with GNU Classpath.
+
2005-03-09 Sven de Marothy <sven at physto.se>
* java/util/Calendar.java
Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.323 kaffe/libraries/javalib/Makefile.am:1.324
--- kaffe/libraries/javalib/Makefile.am:1.323 Fri Mar 11 17:24:27 2005
+++ kaffe/libraries/javalib/Makefile.am Fri Mar 11 17:43:50 2005
@@ -160,6 +160,7 @@
$(gnu_regexp_SRCS) \
$(gnu_xml_aelfred2_SRCS) \
$(gnu_xml_dom_SRCS) \
+ $(gnu_xml_dom_html2_SRCS) \
$(gnu_xml_dom_ls_SRCS) \
$(gnu_xml_libxmlj_dom_SRCS) \
$(gnu_xml_libxmlj_sax_SRCS) \
@@ -1746,6 +1747,18 @@
gnu/xml/dom/ImplementationList.java \
gnu/xml/dom/ImplementationSource.java \
gnu/xml/dom/JAXPFactory.java
+gnu_xml_dom_html2_SRCS = \
+ gnu/xml/dom/html2/DomHTMLAnchorElement.java \
+ gnu/xml/dom/html2/DomHTMLAppletElement.java \
+ gnu/xml/dom/html2/DomHTMLAreaElement.java \
+ gnu/xml/dom/html2/DomHTMLBRElement.java \
+ gnu/xml/dom/html2/DomHTMLBaseElement.java \
+ gnu/xml/dom/html2/DomHTMLBaseFontElement.java \
+ gnu/xml/dom/html2/DomHTMLBodyElement.java \
+ gnu/xml/dom/html2/DomHTMLButtonElement.java \
+ gnu/xml/dom/html2/DomHTMLCollection.java \
+ gnu/xml/dom/html2/DomHTMLDocument.java \
+ gnu/xml/dom/html2/DomHTMLElement.java
gnu_xml_dom_ls_SRCS = \
gnu/xml/dom/ls/DomLSException.java \
gnu/xml/dom/ls/DomLSInput.java \
Index: kaffe/libraries/javalib/Makefile.in
diff -u kaffe/libraries/javalib/Makefile.in:1.409 kaffe/libraries/javalib/Makefile.in:1.410
--- kaffe/libraries/javalib/Makefile.in:1.409 Fri Mar 11 17:24:28 2005
+++ kaffe/libraries/javalib/Makefile.in Fri Mar 11 17:43:53 2005
@@ -512,6 +512,7 @@
$(gnu_regexp_SRCS) \
$(gnu_xml_aelfred2_SRCS) \
$(gnu_xml_dom_SRCS) \
+ $(gnu_xml_dom_html2_SRCS) \
$(gnu_xml_dom_ls_SRCS) \
$(gnu_xml_libxmlj_dom_SRCS) \
$(gnu_xml_libxmlj_sax_SRCS) \
@@ -2208,6 +2209,19 @@
gnu/xml/dom/ImplementationList.java \
gnu/xml/dom/ImplementationSource.java \
gnu/xml/dom/JAXPFactory.java
+
+gnu_xml_dom_html2_SRCS = \
+ gnu/xml/dom/html2/DomHTMLAnchorElement.java \
+ gnu/xml/dom/html2/DomHTMLAppletElement.java \
+ gnu/xml/dom/html2/DomHTMLAreaElement.java \
+ gnu/xml/dom/html2/DomHTMLBRElement.java \
+ gnu/xml/dom/html2/DomHTMLBaseElement.java \
+ gnu/xml/dom/html2/DomHTMLBaseFontElement.java \
+ gnu/xml/dom/html2/DomHTMLBodyElement.java \
+ gnu/xml/dom/html2/DomHTMLButtonElement.java \
+ gnu/xml/dom/html2/DomHTMLCollection.java \
+ gnu/xml/dom/html2/DomHTMLDocument.java \
+ gnu/xml/dom/html2/DomHTMLElement.java
gnu_xml_dom_ls_SRCS = \
gnu/xml/dom/ls/DomLSException.java \
Index: kaffe/libraries/javalib/all.files
diff -u kaffe/libraries/javalib/all.files:1.103 kaffe/libraries/javalib/all.files:1.104
--- kaffe/libraries/javalib/all.files:1.103 Fri Mar 11 17:24:31 2005
+++ kaffe/libraries/javalib/all.files Fri Mar 11 17:43:54 2005
@@ -1300,6 +1300,17 @@
gnu/xml/dom/ImplementationList.java
gnu/xml/dom/ImplementationSource.java
gnu/xml/dom/JAXPFactory.java
+gnu/xml/dom/html2/DomHTMLAnchorElement.java
+gnu/xml/dom/html2/DomHTMLAppletElement.java
+gnu/xml/dom/html2/DomHTMLAreaElement.java
+gnu/xml/dom/html2/DomHTMLBRElement.java
+gnu/xml/dom/html2/DomHTMLBaseElement.java
+gnu/xml/dom/html2/DomHTMLBaseFontElement.java
+gnu/xml/dom/html2/DomHTMLBodyElement.java
+gnu/xml/dom/html2/DomHTMLButtonElement.java
+gnu/xml/dom/html2/DomHTMLCollection.java
+gnu/xml/dom/html2/DomHTMLDocument.java
+gnu/xml/dom/html2/DomHTMLElement.java
gnu/xml/dom/ls/DomLSException.java
gnu/xml/dom/ls/DomLSInput.java
gnu/xml/dom/ls/DomLSOutput.java
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAnchorElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAnchorElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAnchorElement.java Fri Mar 11 17:50:40 2005
@@ -0,0 +1,189 @@
+/* DomHTMLAnchorElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLAnchorElement;
+
+/**
+ * An HTML 'A' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLAnchorElement
+ extends DomHTMLElement
+ implements HTMLAnchorElement
+{
+
+ protected DomHTMLAnchorElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getAccessKey()
+ {
+ return getHTMLAttribute("accesskey");
+ }
+
+ public void setAccessKey(String accessKey)
+ {
+ setHTMLAttribute("accesskey", accessKey);
+ }
+
+ public String getCharset()
+ {
+ return getHTMLAttribute("charset");
+ }
+
+ public void setCharset(String charset)
+ {
+ setHTMLAttribute("charset", charset);
+ }
+
+ public String getCoords()
+ {
+ return getHTMLAttribute("coords");
+ }
+
+ public void setCoords(String coords)
+ {
+ setHTMLAttribute("coords", coords);
+ }
+
+ public String getHref()
+ {
+ return getHTMLAttribute("href");
+ }
+
+ public void setHref(String href)
+ {
+ setHTMLAttribute("href", href);
+ }
+
+ public String getHreflang()
+ {
+ return getHTMLAttribute("hreflang");
+ }
+
+ public void setHreflang(String hreflang)
+ {
+ setHTMLAttribute("hreflang", hreflang);
+ }
+
+ public String getName()
+ {
+ return getHTMLAttribute("name");
+ }
+
+ public void setName(String name)
+ {
+ setHTMLAttribute("name", name);
+ }
+
+ public String getRel()
+ {
+ return getHTMLAttribute("rel");
+ }
+
+ public void setRel(String rel)
+ {
+ setHTMLAttribute("rel", rel);
+ }
+
+ public String getRev()
+ {
+ return getHTMLAttribute("rev");
+ }
+
+ public void setRev(String rev)
+ {
+ setHTMLAttribute("rev", rev);
+ }
+
+ public String getShape()
+ {
+ return getHTMLAttribute("shape");
+ }
+
+ public void setShape(String shape)
+ {
+ setHTMLAttribute("shape", shape);
+ }
+
+ public int getTabIndex()
+ {
+ return getIntHTMLAttribute("tabindex");
+ }
+
+ public void setTabIndex(int tabIndex)
+ {
+ setIntHTMLAttribute("tabindex", tabIndex);
+ }
+
+ public String getTarget()
+ {
+ return getHTMLAttribute("target");
+ }
+
+ public void setTarget(String target)
+ {
+ setHTMLAttribute("target", target);
+ }
+
+ public String getType()
+ {
+ return getHTMLAttribute("type");
+ }
+
+ public void setType(String type)
+ {
+ setHTMLAttribute("type", type);
+ }
+
+ public void blur()
+ {
+ // TODO
+ }
+
+ public void focus()
+ {
+ // TODO
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAppletElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAppletElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAppletElement.java Fri Mar 11 17:50:40 2005
@@ -0,0 +1,169 @@
+/* DomHTMLAppletElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLAppletElement;
+
+/**
+ * An HTML 'APPLET' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLAppletElement
+ extends DomHTMLElement
+ implements HTMLAppletElement
+{
+
+ protected DomHTMLAppletElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getAlign()
+ {
+ return getHTMLAttribute("align");
+ }
+
+ public void setAlign(String align)
+ {
+ setHTMLAttribute("align", align);
+ }
+
+ public String getAlt()
+ {
+ return getHTMLAttribute("alt");
+ }
+
+ public void setAlt(String alt)
+ {
+ setHTMLAttribute("alt", alt);
+ }
+
+ public String getArchive()
+ {
+ return getHTMLAttribute("archive");
+ }
+
+ public void setArchive(String archive)
+ {
+ setHTMLAttribute("archive", archive);
+ }
+
+ public String getCode()
+ {
+ return getHTMLAttribute("code");
+ }
+
+ public void setCode(String code)
+ {
+ setHTMLAttribute("code", code);
+ }
+
+ public String getCodeBase()
+ {
+ return getHTMLAttribute("codebase");
+ }
+
+ public void setCodeBase(String codeBase)
+ {
+ setHTMLAttribute("codebase", codeBase);
+ }
+
+ public String getHeight()
+ {
+ return getHTMLAttribute("height");
+ }
+
+ public void setHeight(String height)
+ {
+ setHTMLAttribute("height", height);
+ }
+
+ public int getHspace()
+ {
+ return getIntHTMLAttribute("hspace");
+ }
+
+ public void setHspace(int hspace)
+ {
+ setIntHTMLAttribute("hspace", hspace);
+ }
+
+ public String getName()
+ {
+ return getHTMLAttribute("name");
+ }
+
+ public void setName(String name)
+ {
+ setHTMLAttribute("name", name);
+ }
+
+ public String getObject()
+ {
+ return getHTMLAttribute("object");
+ }
+
+ public void setObject(String object)
+ {
+ setHTMLAttribute("object", object);
+ }
+
+ public int getVspace()
+ {
+ return getIntHTMLAttribute("vspace");
+ }
+
+ public void setVspace(int vspace)
+ {
+ setIntHTMLAttribute("vspace", vspace);
+ }
+
+ public String getWidth()
+ {
+ return getHTMLAttribute("width");
+ }
+
+ public void setWidth(String width)
+ {
+ setHTMLAttribute("width", width);
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAreaElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAreaElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLAreaElement.java Fri Mar 11 17:50:40 2005
@@ -0,0 +1,139 @@
+/* DomHTMLAreaElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLAreaElement;
+
+/**
+ * An HTML 'AREA' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLAreaElement
+ extends DomHTMLElement
+ implements HTMLAreaElement
+{
+
+ protected DomHTMLAreaElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getAccessKey()
+ {
+ return getHTMLAttribute("accesskey");
+ }
+
+ public void setAccessKey(String accessKey)
+ {
+ setHTMLAttribute("accesskey", accessKey);
+ }
+
+ public String getAlt()
+ {
+ return getHTMLAttribute("alt");
+ }
+
+ public void setAlt(String alt)
+ {
+ setHTMLAttribute("alt", alt);
+ }
+
+ public String getCoords()
+ {
+ return getHTMLAttribute("coords");
+ }
+
+ public void setCoords(String coords)
+ {
+ setHTMLAttribute("coords", coords);
+ }
+
+ public String getHref()
+ {
+ return getHTMLAttribute("href");
+ }
+
+ public void setHref(String href)
+ {
+ setHTMLAttribute("href", href);
+ }
+
+ public boolean getNoHref()
+ {
+ return getBooleanHTMLAttribute("nohref");
+ }
+
+ public void setNoHref(boolean nohref)
+ {
+ setBooleanHTMLAttribute("nohref", nohref);
+ }
+
+ public String getShape()
+ {
+ return getHTMLAttribute("shape");
+ }
+
+ public void setShape(String shape)
+ {
+ setHTMLAttribute("shape", shape);
+ }
+
+ public int getTabIndex()
+ {
+ return getIntHTMLAttribute("tabindex");
+ }
+
+ public void setTabIndex(int tabIndex)
+ {
+ setIntHTMLAttribute("tabindex", tabIndex);
+ }
+
+ public String getTarget()
+ {
+ return getHTMLAttribute("target");
+ }
+
+ public void setTarget(String target)
+ {
+ setHTMLAttribute("target", target);
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBRElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBRElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBRElement.java Fri Mar 11 17:50:41 2005
@@ -0,0 +1,69 @@
+/* DomHTMLBRElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLBRElement;
+
+/**
+ * An HTML 'BR' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLBRElement
+ extends DomHTMLElement
+ implements HTMLBRElement
+{
+
+ protected DomHTMLBRElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getClear()
+ {
+ return getHTMLAttribute("clear");
+ }
+
+ public void setClear(String clear)
+ {
+ setHTMLAttribute("clear", clear);
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseElement.java Fri Mar 11 17:50:41 2005
@@ -0,0 +1,79 @@
+/* DomHTMLBaseElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLBaseElement;
+
+/**
+ * An HTML 'BASE' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLBaseElement
+ extends DomHTMLElement
+ implements HTMLBaseElement
+{
+
+ protected DomHTMLBaseElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getHref()
+ {
+ return getHTMLAttribute("href");
+ }
+
+ public void setHref(String href)
+ {
+ setHTMLAttribute("href", href);
+ }
+
+ public String getTarget()
+ {
+ return getHTMLAttribute("target");
+ }
+
+ public void setTarget(String target)
+ {
+ setHTMLAttribute("target", target);
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseFontElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseFontElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBaseFontElement.java Fri Mar 11 17:50:41 2005
@@ -0,0 +1,89 @@
+/* DomHTMLBaseFontElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLBaseFontElement;
+
+/**
+ * An HTML 'BASEFONT' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLBaseFontElement
+ extends DomHTMLElement
+ implements HTMLBaseFontElement
+{
+
+ protected DomHTMLBaseFontElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
+ {
+ super(owner, namespaceURI, name);
+ }
+
+ public String getColor()
+ {
+ return getHTMLAttribute("color");
+ }
+
+ public void setColor(String color)
+ {
+ setHTMLAttribute("color", color);
+ }
+
+ public String getFace()
+ {
+ return getHTMLAttribute("face");
+ }
+
+ public void setFace(String face)
+ {
+ setHTMLAttribute("face", face);
+ }
+
+ public int getSize()
+ {
+ return getIntHTMLAttribute("size");
+ }
+
+ public void setSize(int size)
+ {
+ setIntHTMLAttribute("size", size);
+ }
+
+}
+
===================================================================
Checking out kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBodyElement.java
RCS: /home/cvs/kaffe/kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBodyElement.java,v
VERS: 1.1
***************
--- /dev/null Sun Aug 4 19:57:58 2002
+++ kaffe/libraries/javalib/gnu/xml/dom/html2/DomHTMLBodyElement.java Fri Mar 11 17:50:41 2005
@@ -0,0 +1,119 @@
+/* DomHTMLBodyElement.java --
+ Copyright (C) 2005 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
+
+package gnu.xml.dom.html2;
+
+import org.w3c.dom.html2.HTMLBodyElement;
+
+/**
+ * An HTML 'BODY' element node.
+ *
+ * @author <a href='mailto:dog at gnu.org'>Chris Burdess</a>
+ */
+public class DomHTMLBodyElement
+ extends DomHTMLElement
+ implements HTMLBodyElement
+{
+
+ protected DomHTMLBodyElement(DomHTMLDocument owner, String namespaceURI,
+ String name)
*** Patch too long, truncated ***
More information about the kaffe
mailing list