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:33 UTC
svn commit: r890183 -
/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java
Author: mrglavas
Date: Mon Dec 14 05:20:31 2009
New Revision: 890183
URL: http://svn.apache.org/viewvc?rev=890183&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/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java
Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java?rev=890183&r1=890182&r2=890183&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/html/dom/HTMLCollectionImpl.java Mon Dec 14 05:20:31 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