< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/DeferredDocumentImpl.java

Print this page


   1 /*
   2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * @LastModified: Oct 2017
   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.xerces.internal.dom;
  23 


  26 import java.util.List;
  27 import org.w3c.dom.DOMImplementation;
  28 import org.w3c.dom.Element;
  29 import org.w3c.dom.Node;
  30 
  31 /**
  32  * The Document interface represents the entire HTML or XML document.
  33  * Conceptually, it is the root of the document tree, and provides the
  34  * primary access to the document's data.
  35  * <P>
  36  * Since elements, text nodes, comments, processing instructions,
  37  * etc. cannot exist outside the context of a Document, the Document
  38  * interface also contains the factory methods needed to create these
  39  * objects. The Node objects created have a ownerDocument attribute
  40  * which associates them with the Document within whose context they
  41  * were created.
  42  *
  43  * @xerces.internal
  44  *
  45  * @since  PR-DOM-Level-1-19980818.

  46  */
  47 public class DeferredDocumentImpl
  48     extends DocumentImpl
  49     implements DeferredNode {
  50 
  51     //
  52     // Constants
  53     //
  54 
  55     /** Serialization version. */
  56     static final long serialVersionUID = 5186323580749626857L;
  57 
  58     // debugging
  59 
  60     /** To include code for printing the ref count tables. */
  61     private static final boolean DEBUG_PRINT_REF_COUNTS = false;
  62 
  63     /** To include code for printing the internal tables. */
  64     private static final boolean DEBUG_PRINT_TABLES = false;
  65 


   1 /*
   2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.

   3  */
   4 /*
   5  * Licensed to the Apache Software Foundation (ASF) under one or more
   6  * contributor license agreements.  See the NOTICE file distributed with
   7  * this work for additional information regarding copyright ownership.
   8  * The ASF licenses this file to You under the Apache License, Version 2.0
   9  * (the "License"); you may not use this file except in compliance with
  10  * the License.  You may obtain a copy of the License at
  11  *
  12  *      http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.dom;
  22 


  25 import java.util.List;
  26 import org.w3c.dom.DOMImplementation;
  27 import org.w3c.dom.Element;
  28 import org.w3c.dom.Node;
  29 
  30 /**
  31  * The Document interface represents the entire HTML or XML document.
  32  * Conceptually, it is the root of the document tree, and provides the
  33  * primary access to the document's data.
  34  * <P>
  35  * Since elements, text nodes, comments, processing instructions,
  36  * etc. cannot exist outside the context of a Document, the Document
  37  * interface also contains the factory methods needed to create these
  38  * objects. The Node objects created have a ownerDocument attribute
  39  * which associates them with the Document within whose context they
  40  * were created.
  41  *
  42  * @xerces.internal
  43  *
  44  * @since  PR-DOM-Level-1-19980818.
  45  * @LastModified: Oct 2017
  46  */
  47 public class DeferredDocumentImpl
  48     extends DocumentImpl
  49     implements DeferredNode {
  50 
  51     //
  52     // Constants
  53     //
  54 
  55     /** Serialization version. */
  56     static final long serialVersionUID = 5186323580749626857L;
  57 
  58     // debugging
  59 
  60     /** To include code for printing the ref count tables. */
  61     private static final boolean DEBUG_PRINT_REF_COUNTS = false;
  62 
  63     /** To include code for printing the internal tables. */
  64     private static final boolean DEBUG_PRINT_TABLES = false;
  65 


< prev index next >