mrglavas    2005/04/17 16:30:30

  Modified:    java/src/org/apache/wml/dom WMLBElementImpl.java
                        WMLAElementImpl.java WMLAnchorElementImpl.java
                        WMLBigElementImpl.java WMLAccessElementImpl.java
  Log:
  Adding serialVersionUID to serializable classes, in the process also fixed 
formatting.
  
  Revision  Changes    Path
  1.4       +33 -32    
xml-xerces/java/src/org/apache/wml/dom/WMLBElementImpl.java
  
  Index: WMLBElementImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLBElementImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WMLBElementImpl.java      5 Oct 2004 03:38:47 -0000       1.3
  +++ WMLBElementImpl.java      17 Apr 2005 23:30:30 -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:[EMAIL PROTECTED]">David Li</a>
    */
  -
   public class WMLBElementImpl extends WMLElementImpl implements WMLBElement {
  -
  -  public WMLBElementImpl (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");
  -  }
  -
  +    
  +    private static final long serialVersionUID = 3258131370952635443L;
  +    
  +    public WMLBElementImpl (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       +49 -48    
xml-xerces/java/src/org/apache/wml/dom/WMLAElementImpl.java
  
  Index: WMLAElementImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLAElementImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WMLAElementImpl.java      5 Oct 2004 03:38:47 -0000       1.3
  +++ WMLAElementImpl.java      17 Apr 2005 23:30:30 -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:[EMAIL PROTECTED]">David Li</a>
    */
  -
   public class WMLAElementImpl extends WMLElementImpl implements WMLAElement {
  -
  -  public WMLAElementImpl (WMLDocumentImpl owner, String tagName) {
  -    super( owner, tagName);
  -  }
  -
  -  public void setHref(String newValue) {
  -    setAttribute("href", newValue);
  -  }
  -
  -  public String getHref() {
  -    return getAttribute("href");
  -  }
  -
  -  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");
  -  }
  -
  +    
  +    private static final long serialVersionUID = 3618134567563966776L;
  +    
  +    public WMLAElementImpl (WMLDocumentImpl owner, String tagName) {
  +        super( owner, tagName);
  +    }
  +    
  +    public void setHref(String newValue) {
  +        setAttribute("href", newValue);
  +    }
  +    
  +    public String getHref() {
  +        return getAttribute("href");
  +    }
  +    
  +    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       +41 -40    
xml-xerces/java/src/org/apache/wml/dom/WMLAnchorElementImpl.java
  
  Index: WMLAnchorElementImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLAnchorElementImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WMLAnchorElementImpl.java 5 Oct 2004 03:38:47 -0000       1.3
  +++ WMLAnchorElementImpl.java 17 Apr 2005 23:30:30 -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:[EMAIL PROTECTED]">David Li</a>
    */
  -
   public class WMLAnchorElementImpl extends WMLElementImpl implements 
WMLAnchorElement {
  -
  -  public WMLAnchorElementImpl (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");
  -  }
  -
  +    
  +    private static final long serialVersionUID = 3834588790345249332L;
  +    
  +    public WMLAnchorElementImpl (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/WMLBigElementImpl.java
  
  Index: WMLBigElementImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLBigElementImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WMLBigElementImpl.java    5 Oct 2004 03:38:47 -0000       1.3
  +++ WMLBigElementImpl.java    17 Apr 2005 23:30:30 -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:[EMAIL PROTECTED]">David Li</a>
    */
  -
   public class WMLBigElementImpl extends WMLElementImpl implements 
WMLBigElement {
   
  -  public WMLBigElementImpl (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");
  -  }
  -
  +    private static final long serialVersionUID = 3258416118711203377L;
  +    
  +    public WMLBigElementImpl (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       +41 -40    
xml-xerces/java/src/org/apache/wml/dom/WMLAccessElementImpl.java
  
  Index: WMLAccessElementImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/wml/dom/WMLAccessElementImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WMLAccessElementImpl.java 5 Oct 2004 03:38:47 -0000       1.3
  +++ WMLAccessElementImpl.java 17 Apr 2005 23:30:30 -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:[EMAIL PROTECTED]">David Li</a>
    */
  -
   public class WMLAccessElementImpl extends WMLElementImpl implements 
WMLAccessElement {
  -
  -  public WMLAccessElementImpl (WMLDocumentImpl owner, String tagName) {
  -    super( owner, tagName);
  -  }
  -
  -  public void setClassName(String newValue) {
  -    setAttribute("class", newValue);
  -  }
  -
  -  public String getClassName() {
  -    return getAttribute("class");
  -  }
  -
  -  public void setDomain(String newValue) {
  -    setAttribute("domain", newValue);
  -  }
  -
  -  public String getDomain() {
  -    return getAttribute("domain");
  -  }
  -
  -  public void setId(String newValue) {
  -    setAttribute("id", newValue);
  -  }
  -
  -  public String getId() {
  -    return getAttribute("id");
  -  }
  -
  -  public void setPath(String newValue) {
  -    setAttribute("path", newValue);
  -  }
  -
  -  public String getPath() {
  -    return getAttribute("path");
  -  }
  -
  +    
  +    private static final long serialVersionUID = 3256721784177833777L;
  +    
  +    public WMLAccessElementImpl (WMLDocumentImpl owner, String tagName) {
  +        super( owner, tagName);
  +    }
  +    
  +    public void setClassName(String newValue) {
  +        setAttribute("class", newValue);
  +    }
  +    
  +    public String getClassName() {
  +        return getAttribute("class");
  +    }
  +    
  +    public void setDomain(String newValue) {
  +        setAttribute("domain", newValue);
  +    }
  +    
  +    public String getDomain() {
  +        return getAttribute("domain");
  +    }
  +    
  +    public void setId(String newValue) {
  +        setAttribute("id", newValue);
  +    }
  +    
  +    public String getId() {
  +        return getAttribute("id");
  +    }
  +    
  +    public void setPath(String newValue) {
  +        setAttribute("path", newValue);
  +    }
  +    
  +    public String getPath() {
  +        return getAttribute("path");
  +    }
  +    
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to