mrglavas 2005/04/17 17:41:07
Modified: java/src/org/apache/html/dom HTMLFieldSetElementImpl.java
HTMLElementImpl.java HTMLDivElementImpl.java
HTMLBRElementImpl.java HTMLDocumentImpl.java
HTMLDListElementImpl.java
HTMLButtonElementImpl.java
HTMLDirectoryElementImpl.java
Log:
Adding serialVersionUID to serializable classes.
Revision Changes Path
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLFieldSetElementImpl.java
Index: HTMLFieldSetElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLFieldSetElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLFieldSetElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLFieldSetElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLFieldSetElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,9 +28,10 @@
extends HTMLElementImpl
implements HTMLFieldSetElement, HTMLFormControl
{
+
+ private static final long serialVersionUID = 3544671789075674421L;
-
- /**
+ /**
* Constructor requires owner document.
*
* @param owner The owner HTML document
1.9 +3 -4
xml-xerces/java/src/org/apache/html/dom/HTMLElementImpl.java
Index: HTMLElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
*/
package org.apache.html.dom;
-
import java.util.Locale;
import org.apache.xerces.dom.ElementImpl;
@@ -25,7 +24,6 @@
import org.w3c.dom.html.HTMLElement;
import org.w3c.dom.html.HTMLFormElement;
-
/**
* Implements an HTML-specific element, an [EMAIL PROTECTED]
org.w3c.dom.Element} that
* will only appear inside HTML documents. This element extends [EMAIL
PROTECTED]
@@ -46,6 +44,7 @@
implements HTMLElement
{
+ private static final long serialVersionUID = 3833188025499792690L;
/**
* Constructor required owner document and element tag name. Will be
called
1.9 +4 -5
xml-xerces/java/src/org/apache/html/dom/HTMLDivElementImpl.java
Index: HTMLDivElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDivElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLDivElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLDivElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLDivElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -31,7 +29,8 @@
implements HTMLDivElement
{
-
+ private static final long serialVersionUID = 3617290138322286649L;
+
public String getAlign()
{
return capitalize( getAttribute( "align" ) );
1.9 +4 -5
xml-xerces/java/src/org/apache/html/dom/HTMLBRElementImpl.java
Index: HTMLBRElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLBRElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLBRElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLBRElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLBRElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -31,7 +29,8 @@
implements HTMLBRElement
{
-
+ private static final long serialVersionUID = 3688783691585172016L;
+
public String getClear()
{
return capitalize( getAttribute( "clear" ) );
1.21 +3 -4
xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java
Index: HTMLDocumentImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- HTMLDocumentImpl.java 5 Oct 2004 03:23:48 -0000 1.20
+++ HTMLDocumentImpl.java 18 Apr 2005 00:41:07 -0000 1.21
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
*/
package org.apache.html.dom;
-
import java.io.StringWriter;
import java.lang.reflect.Constructor;
import java.util.Hashtable;
@@ -37,7 +36,6 @@
import org.w3c.dom.html.HTMLHtmlElement;
import org.w3c.dom.html.HTMLTitleElement;
-
/**
* Implements an HTML document. Provides access to the top level element in
the
* document, its body and title.
@@ -63,6 +61,7 @@
implements HTMLDocument
{
+ private static final long serialVersionUID = 3258132457579427892L;
/**
* Holds [EMAIL PROTECTED] HTMLCollectionImpl} object with live
collection of all
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLDListElementImpl.java
Index: HTMLDListElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDListElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLDListElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLDListElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLDListElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,8 +28,9 @@
extends HTMLElementImpl
implements HTMLDListElement
{
-
-
+
+ private static final long serialVersionUID = 3256719576463847477L;
+
public boolean getCompact()
{
return getBinary( "compact" );
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLButtonElementImpl.java
Index: HTMLButtonElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLButtonElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLButtonElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLButtonElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLButtonElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -31,8 +29,9 @@
implements HTMLButtonElement, HTMLFormControl
{
-
- public String getAccessKey()
+ private static final long serialVersionUID = 3258131349495100728L;
+
+ public String getAccessKey()
{
String accessKey;
1.9 +4 -5
xml-xerces/java/src/org/apache/html/dom/HTMLDirectoryElementImpl.java
Index: HTMLDirectoryElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDirectoryElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLDirectoryElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLDirectoryElementImpl.java 18 Apr 2005 00:41:07 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 1999,2000,2004 The Apache Software Foundation.
+ * Copyright 1999,2000,2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.html.HTMLDirectoryElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -31,7 +29,8 @@
implements HTMLDirectoryElement
{
-
+ private static final long serialVersionUID = 3256436993385772854L;
+
public boolean getCompact()
{
return getBinary( "compact" );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]