mrglavas 2005/04/17 18:12:37
Modified: java/src/org/apache/html/dom HTMLOptionElementImpl.java
HTMLPreElementImpl.java HTMLQuoteElementImpl.java
HTMLScriptElementImpl.java
HTMLSelectElementImpl.java
HTMLParagraphElementImpl.java
HTMLStyleElementImpl.java HTMLParamElementImpl.java
Log:
Adding serialVersionUID to serializable classes.
Revision Changes Path
1.10 +3 -5
xml-xerces/java/src/org/apache/html/dom/HTMLOptionElementImpl.java
Index: HTMLOptionElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLOptionElementImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- HTMLOptionElementImpl.java 5 Oct 2004 03:23:48 -0000 1.9
+++ HTMLOptionElementImpl.java 18 Apr 2005 01:12:37 -0000 1.10
@@ -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 org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
@@ -23,7 +22,6 @@
import org.w3c.dom.html.HTMLOptionElement;
import org.w3c.dom.html.HTMLSelectElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -36,7 +34,7 @@
implements HTMLOptionElement
{
-
+ private static final long serialVersionUID = 3257285846528112436L;
public boolean getDefaultSelected()
{
1.9 +6 -7
xml-xerces/java/src/org/apache/html/dom/HTMLPreElementImpl.java
Index: HTMLPreElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLPreElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLPreElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLPreElementImpl.java 18 Apr 2005 01:12:37 -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.HTMLPreElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,9 +28,10 @@
extends HTMLElementImpl
implements HTMLPreElement
{
-
-
- public int getWidth()
+
+ private static final long serialVersionUID = 3257282552271156784L;
+
+ public int getWidth()
{
return getInteger( getAttribute( "width" ) );
}
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLQuoteElementImpl.java
Index: HTMLQuoteElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLQuoteElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLQuoteElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLQuoteElementImpl.java 18 Apr 2005 01:12:37 -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.HTMLQuoteElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,8 +28,9 @@
extends HTMLElementImpl
implements HTMLQuoteElement
{
-
-
+
+ private static final long serialVersionUID = 3257852082097764401L;
+
public String getCite()
{
return getAttribute( "cite" );
1.10 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLScriptElementImpl.java
Index: HTMLScriptElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLScriptElementImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- HTMLScriptElementImpl.java 5 Oct 2004 03:23:48 -0000 1.9
+++ HTMLScriptElementImpl.java 18 Apr 2005 01:12:37 -0000 1.10
@@ -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,12 +15,10 @@
*/
package org.apache.html.dom;
-
import org.w3c.dom.Node;
import org.w3c.dom.Text;
import org.w3c.dom.html.HTMLScriptElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -32,8 +30,9 @@
extends HTMLElementImpl
implements HTMLScriptElement
{
-
-
+
+ private static final long serialVersionUID = 3832626162072498224L;
+
public String getText()
{
Node child;
1.11 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLSelectElementImpl.java
Index: HTMLSelectElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLSelectElementImpl.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- HTMLSelectElementImpl.java 5 Oct 2004 03:23:48 -0000 1.10
+++ HTMLSelectElementImpl.java 18 Apr 2005 01:12:37 -0000 1.11
@@ -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 org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.html.HTMLCollection;
@@ -23,7 +22,6 @@
import org.w3c.dom.html.HTMLOptionElement;
import org.w3c.dom.html.HTMLSelectElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -35,8 +33,9 @@
extends HTMLElementImpl
implements HTMLSelectElement, HTMLFormControl
{
-
-
+
+ private static final long serialVersionUID = 3256722883588665912L;
+
public String getType()
{
return getAttribute( "type" );
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLParagraphElementImpl.java
Index: HTMLParagraphElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLParagraphElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLParagraphElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLParagraphElementImpl.java 18 Apr 2005 01:12:37 -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.HTMLParagraphElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,8 +28,9 @@
extends HTMLElementImpl
implements HTMLParagraphElement
{
-
-
+
+ private static final long serialVersionUID = 4048796766621415217L;
+
public String getAlign()
{
return getAttribute( "align" );
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLStyleElementImpl.java
Index: HTMLStyleElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLStyleElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLStyleElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLStyleElementImpl.java 18 Apr 2005 01:12:37 -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.HTMLStyleElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,8 +28,9 @@
extends HTMLElementImpl
implements HTMLStyleElement
{
-
-
+
+ private static final long serialVersionUID = 3258688788921594165L;
+
public boolean getDisabled()
{
return getBinary( "disabled" );
1.9 +5 -6
xml-xerces/java/src/org/apache/html/dom/HTMLParamElementImpl.java
Index: HTMLParamElementImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLParamElementImpl.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTMLParamElementImpl.java 5 Oct 2004 03:23:48 -0000 1.8
+++ HTMLParamElementImpl.java 18 Apr 2005 01:12:37 -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.HTMLParamElement;
-
/**
* @xerces.internal
* @version $Revision$ $Date$
@@ -30,8 +28,9 @@
extends HTMLElementImpl
implements HTMLParamElement
{
-
-
+
+ private static final long serialVersionUID = 3258412815831020848L;
+
public String getName()
{
return getAttribute( "name" );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]