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 2009/12/14 06:20:09 UTC

svn commit: r890182 - /xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java

Author: mrglavas
Date: Mon Dec 14 05:20:08 2009
New Revision: 890182

URL: http://svn.apache.org/viewvc?rev=890182&view=rev
Log:
JIRA Issue #1386: http://issues.apache.org/jira/browse/XERCESJ-1386. By request, making HTMLCollectionImpl implement java.io.Serializable so that the HTML DOM can be serialized to an ObjectOutputStream when the nodes contain instances of this class.

Modified:
    xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java

Modified: xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java?rev=890182&r1=890181&r2=890182&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java (original)
+++ xerces/java/trunk/src/org/apache/html/dom/HTMLCollectionImpl.java Mon Dec 14 05:20:08 2009
@@ -17,6 +17,8 @@
 
 package org.apache.html.dom;
 
+import java.io.Serializable;
+
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.html.HTMLAnchorElement;
@@ -59,9 +61,10 @@
  * @see org.w3c.dom.html.HTMLCollection
  */
 class HTMLCollectionImpl
-    implements HTMLCollection
+    implements HTMLCollection, Serializable
 {
-    
+
+    private static final long serialVersionUID = 9112122196669185082L;
 
     /**
      * Request collection of all anchors in document: <A> elements that



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org