You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by lm...@apache.org on 2002/03/07 00:02:37 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/dom CoreDocumentImpl.java

lmartin     02/03/06 15:02:37

  Modified:    java/src/org/apache/xerces/dom CoreDocumentImpl.java
  Log:
  changes to allow the DOM to be serialized
  
  Revision  Changes    Path
  1.13      +4 -3      xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java
  
  Index: CoreDocumentImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CoreDocumentImpl.java	14 Feb 2002 16:34:29 -0000	1.12
  +++ CoreDocumentImpl.java	6 Mar 2002 23:02:36 -0000	1.13
  @@ -59,6 +59,7 @@
   
   import java.util.Enumeration;
   import java.util.Hashtable;
  +import java.io.Serializable;
   
   import org.w3c.dom.Attr;
   import org.w3c.dom.CDATASection;
  @@ -108,7 +109,7 @@
    * @author Joe Kesselman, IBM
    * @author Andy Clark, IBM
    * @author Ralf Pfeiffer, IBM
  - * @version $Id: CoreDocumentImpl.java,v 1.12 2002/02/14 16:34:29 sandygao Exp $
  + * @version $Id: CoreDocumentImpl.java,v 1.13 2002/03/06 23:02:36 lmartin Exp $
    * @since  PR-DOM-Level-1-19980818.
    */
   public class CoreDocumentImpl
  @@ -134,7 +135,7 @@
       protected ElementImpl docElement;
   
       /** NodeListCache free list */
  -    NodeListCache fFreeNLCache;
  +    transient NodeListCache fFreeNLCache;
   
       /**Experimental DOM Level 3 feature: Document encoding */
       protected String encoding;
  @@ -1561,7 +1562,7 @@
       /*
        * a class to store some user data along with its handler
        */
  -    class UserDataRecord {
  +    class UserDataRecord implements Serializable {
           Object fData;
           UserDataHandler fHandler;
           UserDataRecord(Object data, UserDataHandler handler) {
  
  
  

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