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:43:46 UTC
cvs commit: xml-xerces/java/src/org/apache/wml/dom WMLPElementImpl.java WMLPostfieldElementImpl.java WMLOptionElementImpl.java WMLOptgroupElementImpl.java WMLOneventElementImpl.java
mrglavas 2005/04/17 16:43:46
Modified: java/src/org/apache/wml/dom WMLPElementImpl.java
WMLPostfieldElementImpl.java
WMLOptionElementImpl.java
WMLOptgroupElementImpl.java
WMLOneventElementImpl.java
Log:
Adding serialVersionUID to serializable classes, in the process also fixed formatting.
Revision Changes Path
1.4 +48 -47 xml-xerces/java/src/org/apache/wml/dom/WMLPElementImpl.java
Index: WMLPElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLPElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLPElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLPElementImpl.java 17 Apr 2005 23:43:46 -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 WMLPElementImpl extends WMLElementImpl implements WMLPElement {
+
+ private static final long serialVersionUID = 3761128232321365815L;
- public WMLPElementImpl (WMLDocumentImpl owner, String tagName) {
- super( owner, tagName);
- }
-
- public void setClassName(String newValue) {
- setAttribute("class", newValue);
- }
-
- public String getClassName() {
- return getAttribute("class");
- }
-
- public void setMode(String newValue) {
- setAttribute("mode", newValue);
- }
-
- public String getMode() {
- return getAttribute("mode");
- }
-
- public void setXmlLang(String newValue) {
- setAttribute("xml:lang", newValue);
- }
-
- public String getXmlLang() {
- return getAttribute("xml:lang");
- }
-
- public void setAlign(String newValue) {
- setAttribute("align", newValue);
- }
-
- public String getAlign() {
- return getAttribute("align");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLPElementImpl (WMLDocumentImpl owner, String tagName) {
+ super( owner, tagName);
+ }
+
+ public void setClassName(String newValue) {
+ setAttribute("class", newValue);
+ }
+
+ public String getClassName() {
+ return getAttribute("class");
+ }
+
+ public void setMode(String newValue) {
+ setAttribute("mode", newValue);
+ }
+
+ public String getMode() {
+ return getAttribute("mode");
+ }
+
+ public void setXmlLang(String newValue) {
+ setAttribute("xml:lang", newValue);
+ }
+
+ public String getXmlLang() {
+ return getAttribute("xml:lang");
+ }
+
+ public void setAlign(String newValue) {
+ setAttribute("align", newValue);
+ }
+
+ public String getAlign() {
+ return getAttribute("align");
+ }
+
+ 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/WMLPostfieldElementImpl.java
Index: WMLPostfieldElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLPostfieldElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLPostfieldElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLPostfieldElementImpl.java 17 Apr 2005 23:43:46 -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 WMLPostfieldElementImpl extends WMLElementImpl implements WMLPostfieldElement {
+
+ private static final long serialVersionUID = 3256438114523296562L;
- public WMLPostfieldElementImpl (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 WMLPostfieldElementImpl (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 +56 -55 xml-xerces/java/src/org/apache/wml/dom/WMLOptionElementImpl.java
Index: WMLOptionElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLOptionElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLOptionElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLOptionElementImpl.java 17 Apr 2005 23:43:46 -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,59 +22,60 @@
* @version $Id$
* @author <a href="mailto:david@topware.com.tw">David Li</a>
*/
-
public class WMLOptionElementImpl extends WMLElementImpl implements WMLOptionElement {
+
+ private static final long serialVersionUID = 3257004350009129273L;
- public WMLOptionElementImpl (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 setXmlLang(String newValue) {
- setAttribute("xml:lang", newValue);
- }
-
- public String getXmlLang() {
- return getAttribute("xml:lang");
- }
-
- public void setTitle(String newValue) {
- setAttribute("title", newValue);
- }
-
- public String getTitle() {
- return getAttribute("title");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
- public void setOnPick(String newValue) {
- setAttribute("onpick", newValue);
- }
-
- public String getOnPick() {
- return getAttribute("onpick");
- }
-
+ public WMLOptionElementImpl (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 setXmlLang(String newValue) {
+ setAttribute("xml:lang", newValue);
+ }
+
+ public String getXmlLang() {
+ return getAttribute("xml:lang");
+ }
+
+ public void setTitle(String newValue) {
+ setAttribute("title", newValue);
+ }
+
+ public String getTitle() {
+ return getAttribute("title");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
+ public void setOnPick(String newValue) {
+ setAttribute("onpick", newValue);
+ }
+
+ public String getOnPick() {
+ return getAttribute("onpick");
+ }
+
}
1.4 +40 -39 xml-xerces/java/src/org/apache/wml/dom/WMLOptgroupElementImpl.java
Index: WMLOptgroupElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLOptgroupElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLOptgroupElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLOptgroupElementImpl.java 17 Apr 2005 23:43:46 -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 WMLOptgroupElementImpl extends WMLElementImpl implements WMLOptgroupElement {
+
+ private static final long serialVersionUID = 3545803169461580081L;
- public WMLOptgroupElementImpl (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 setTitle(String newValue) {
- setAttribute("title", newValue);
- }
-
- public String getTitle() {
- return getAttribute("title");
- }
-
- public void setId(String newValue) {
- setAttribute("id", newValue);
- }
-
- public String getId() {
- return getAttribute("id");
- }
-
+ public WMLOptgroupElementImpl (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 setTitle(String newValue) {
+ setAttribute("title", newValue);
+ }
+
+ public String getTitle() {
+ return getAttribute("title");
+ }
+
+ public void setId(String newValue) {
+ setAttribute("id", newValue);
+ }
+
+ public String getId() {
+ return getAttribute("id");
+ }
+
}
1.4 +32 -31 xml-xerces/java/src/org/apache/wml/dom/WMLOneventElementImpl.java
Index: WMLOneventElementImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLOneventElementImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- WMLOneventElementImpl.java 5 Oct 2004 03:38:47 -0000 1.3
+++ WMLOneventElementImpl.java 17 Apr 2005 23:43:46 -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 WMLOneventElementImpl extends WMLElementImpl implements WMLOneventElement {
+
+ private static final long serialVersionUID = 3257283643259892021L;
- public WMLOneventElementImpl (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 void setType(String newValue) {
- setAttribute("type", newValue);
- }
-
- public String getType() {
- return getAttribute("type");
- }
-
+ public WMLOneventElementImpl (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 void setType(String newValue) {
+ setAttribute("type", newValue);
+ }
+
+ public String getType() {
+ return getAttribute("type");
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org