66 * which associates them with the Document within whose context they
67 * were created.
68 * <p>
69 * The DocumentImpl class also implements the DOM Level 2 DocumentTraversal
70 * interface. This interface is comprised of factory methods needed to
71 * create NodeIterators and TreeWalkers. The process of creating NodeIterator
72 * objects also adds these references to this document.
73 * After finishing with an iterator it is important to remove the object
74 * using the remove methods in this implementation. This allows the release of
75 * the references from the iterator objects to the DOM Nodes.
76 * <p>
77 * <b>Note:</b> When any node in the document is serialized, the
78 * entire document is serialized along with it.
79 *
80 * @xerces.internal
81 *
82 * @author Arnaud Le Hors, IBM
83 * @author Joe Kesselman, IBM
84 * @author Andy Clark, IBM
85 * @author Ralf Pfeiffer, IBM
86 * @version $Id: DocumentImpl.java,v 1.6 2010/07/20 20:25:24 joehw Exp $
87 * @since PR-DOM-Level-1-19980818.
88 */
89 public class DocumentImpl
90 extends CoreDocumentImpl
91 implements DocumentTraversal, DocumentEvent, DocumentRange {
92
93 //
94 // Constants
95 //
96
97 /** Serialization version. */
98 static final long serialVersionUID = 515687835542616694L;
99
100 //
101 // Data
102 //
103
104 /** Iterators */
105 // REVISIT: Should this be transient? -Ac
106 protected List<NodeIterator> iterators;
|
66 * which associates them with the Document within whose context they
67 * were created.
68 * <p>
69 * The DocumentImpl class also implements the DOM Level 2 DocumentTraversal
70 * interface. This interface is comprised of factory methods needed to
71 * create NodeIterators and TreeWalkers. The process of creating NodeIterator
72 * objects also adds these references to this document.
73 * After finishing with an iterator it is important to remove the object
74 * using the remove methods in this implementation. This allows the release of
75 * the references from the iterator objects to the DOM Nodes.
76 * <p>
77 * <b>Note:</b> When any node in the document is serialized, the
78 * entire document is serialized along with it.
79 *
80 * @xerces.internal
81 *
82 * @author Arnaud Le Hors, IBM
83 * @author Joe Kesselman, IBM
84 * @author Andy Clark, IBM
85 * @author Ralf Pfeiffer, IBM
86 * @since PR-DOM-Level-1-19980818.
87 */
88 public class DocumentImpl
89 extends CoreDocumentImpl
90 implements DocumentTraversal, DocumentEvent, DocumentRange {
91
92 //
93 // Constants
94 //
95
96 /** Serialization version. */
97 static final long serialVersionUID = 515687835542616694L;
98
99 //
100 // Data
101 //
102
103 /** Iterators */
104 // REVISIT: Should this be transient? -Ac
105 protected List<NodeIterator> iterators;
|