You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/04/18 01:49:58 UTC
cvs commit: xml-xerces/java/src/org/apache/wml/dom WMLUElementImpl.java WMLTimerElementImpl.java WMLWmlElementImpl.java WMLTemplateElementImpl.java WMLTdElementImpl.java WMLTrElementImpl.java
mrglavas 2005/04/17 16:49:58
Modified: java/src/org/apache/wml/dom WMLUElementImpl.java
WMLTimerElementImpl.java WMLWmlElementImpl.java
WMLTemplateElementImpl.java WMLTdElementImpl.java
WMLTrElementImpl.java
Log:
Adding serialVersionUID to serializable classes, in the process also fixed formatting.
Revision Changes Path
1.4 +32 -31 xml-xerces/java/src/org/apache/wml/dom/WMLUElementImpl.java
Index: WMLUElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLUElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLUElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLUElementImpl.java 17 Apr 2005 23:49:57 -0000 1.4
@@ -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.
@@ -22,35 +22,36 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLUElementImpl extends WMLElementImpl implements WMLUElement {
+
+ private static final long serialVersionUID = 3905523782960886835L;
- public WMLUElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setXmlLang(String newValue) {
- setAttribute("xml:lang", newValue);
- }
-
- public String getXmlLang() {
- return getAttribute("xml:lang");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLUElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setXmlLang(String newValue) {
+ setAttribute("xml:lang", newValue);
+ }
+
+ public String getXmlLang() {
+ return getAttribute("xml:lang");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
}
1.4 +40 -39 xml-xerces/java/src/org/apache/wml/dom/WMLTimerElementImpl.java
Index: WMLTimerElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLTimerElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLTimerElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLTimerElementImpl.java 17 Apr 2005 23:49:58 -0000 1.4
@@ -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.
@@ -22,43 +22,44 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLTimerElementImpl extends WMLElementImpl implements WMLTimerElement {
+
+ private static final long serialVersionUID = 4120852161702801969L;
- public WMLTimerElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setValue(String newValue) {
- setAttribute("value", newValue);
- }
-
- public String getValue() {
- return getAttribute("value");
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
- public void setName(String newValue) {
- setAttribute("name", newValue);
- }
-
- public String getName() {
- return getAttribute("name");
- }
-
+ public WMLTimerElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setValue(String newValue) {
+ setAttribute("value", newValue);
+ }
+
+ public String getValue() {
+ return getAttribute("value");
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
+ public void setName(String newValue) {
+ setAttribute("name", newValue);
+ }
+
+ public String getName() {
+ return getAttribute("name");
+ }
+
}
1.4 +32 -31 xml-xerces/java/src/org/apache/wml/dom/WMLWmlElementImpl.java
Index: WMLWmlElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLWmlElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLWmlElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLWmlElementImpl.java 17 Apr 2005 23:49:58 -0000 1.4
@@ -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.
@@ -22,35 +22,36 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLWmlElementImpl extends WMLElementImpl implements WMLWmlElement {
+
+ private static final long serialVersionUID = 3258125839085089331L;
- public WMLWmlElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setXmlLang(String newValue) {
- setAttribute("xml:lang", newValue);
- }
-
- public String getXmlLang() {
- return getAttribute("xml:lang");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLWmlElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setXmlLang(String newValue) {
+ setAttribute("xml:lang", newValue);
+ }
+
+ public String getXmlLang() {
+ return getAttribute("xml:lang");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
}
1.4 +48 -47 xml-xerces/java/src/org/apache/wml/dom/WMLTemplateElementImpl.java
Index: WMLTemplateElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLTemplateElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLTemplateElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLTemplateElementImpl.java 17 Apr 2005 23:49:58 -0000 1.4
@@ -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.
@@ -22,51 +22,52 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLTemplateElementImpl extends WMLElementImpl implements WMLTemplateElement {
+
+ private static final long serialVersionUID = 3761124925280301624L;
- public WMLTemplateElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setOnTimer(String newValue) {
- setAttribute("ontimer", newValue);
- }
-
- public String getOnTimer() {
- return getAttribute("ontimer");
- }
-
- public void setOnEnterBackward(String newValue) {
- setAttribute("onenterbackward", newValue);
- }
-
- public String getOnEnterBackward() {
- return getAttribute("onenterbackward");
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
- public void setOnEnterForward(String newValue) {
- setAttribute("onenterforward", newValue);
- }
-
- public String getOnEnterForward() {
- return getAttribute("onenterforward");
- }
-
+ public WMLTemplateElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setOnTimer(String newValue) {
+ setAttribute("ontimer", newValue);
+ }
+
+ public String getOnTimer() {
+ return getAttribute("ontimer");
+ }
+
+ public void setOnEnterBackward(String newValue) {
+ setAttribute("onenterbackward", newValue);
+ }
+
+ public String getOnEnterBackward() {
+ return getAttribute("onenterbackward");
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
+ public void setOnEnterForward(String newValue) {
+ setAttribute("onenterforward", newValue);
+ }
+
+ public String getOnEnterForward() {
+ return getAttribute("onenterforward");
+ }
+
}
1.4 +32 -31 xml-xerces/java/src/org/apache/wml/dom/WMLTdElementImpl.java
Index: WMLTdElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLTdElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLTdElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLTdElementImpl.java 17 Apr 2005 23:49:58 -0000 1.4
@@ -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.
@@ -22,35 +22,36 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLTdElementImpl extends WMLElementImpl implements WMLTdElement {
+
+ private static final long serialVersionUID = 3904681574250133558L;
- public WMLTdElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setXmlLang(String newValue) {
- setAttribute("xml:lang", newValue);
- }
-
- public String getXmlLang() {
- return getAttribute("xml:lang");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLTdElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setXmlLang(String newValue) {
+ setAttribute("xml:lang", newValue);
+ }
+
+ public String getXmlLang() {
+ return getAttribute("xml:lang");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
}
1.4 +24 -23 xml-xerces/java/src/org/apache/wml/dom/WMLTrElementImpl.java
Index: WMLTrElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLTrElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLTrElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLTrElementImpl.java 17 Apr 2005 23:49:58 -0000 1.4
@@ -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.
@@ -22,27 +22,28 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLTrElementImpl extends WMLElementImpl implements WMLTrElement {
+
+ private static final long serialVersionUID = 3257284712622731825L;
- public WMLTrElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLTrElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org