< prev index next >

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

Print this page


   1 /*
   2  * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * @LastModified: Nov 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 package com.sun.org.apache.xerces.internal.dom;
  22 
  23 import com.sun.org.apache.xerces.internal.impl.Constants;


  67  * Since elements, text nodes, comments, processing instructions,
  68  * etc. cannot exist outside the context of a Document, the Document
  69  * interface also contains the factory methods needed to create these
  70  * objects. The Node objects created have a ownerDocument attribute
  71  * which associates them with the Document within whose context they
  72  * were created.
  73  * <p>
  74  * The CoreDocumentImpl class only implements the DOM Core. Additional modules
  75  * are supported by the more complete DocumentImpl subclass.
  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 CoreDocumentImpl
  89         extends ParentNode implements Document {
  90 
  91     /**
  92      * TODO:: 1. Change XML11Char method names similar to XMLChar. That will
  93      * prevent lot of dirty version checking code.
  94      *
  95      * 2. IMO during cloneNode qname/isXMLName check should not be made.
  96      */
  97     //
  98     // Constants
  99     //
 100 
 101     /** Serialization version. */
 102     static final long serialVersionUID = 0;
 103 
 104     //
 105     // Data
 106     //


   1 /*
   2  * Copyright (c) 2009, 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 package com.sun.org.apache.xerces.internal.dom;
  21 
  22 import com.sun.org.apache.xerces.internal.impl.Constants;


  66  * Since elements, text nodes, comments, processing instructions,
  67  * etc. cannot exist outside the context of a Document, the Document
  68  * interface also contains the factory methods needed to create these
  69  * objects. The Node objects created have a ownerDocument attribute
  70  * which associates them with the Document within whose context they
  71  * were created.
  72  * <p>
  73  * The CoreDocumentImpl class only implements the DOM Core. Additional modules
  74  * are supported by the more complete DocumentImpl subclass.
  75  * <p>
  76  * <b>Note:</b> When any node in the document is serialized, the
  77  * entire document is serialized along with it.
  78  *
  79  * @xerces.internal
  80  *
  81  * @author Arnaud  Le Hors, IBM
  82  * @author Joe Kesselman, IBM
  83  * @author Andy Clark, IBM
  84  * @author Ralf Pfeiffer, IBM
  85  * @since  PR-DOM-Level-1-19980818.
  86  * @LastModified: Nov 2017
  87  */
  88 public class CoreDocumentImpl
  89         extends ParentNode implements Document {
  90 
  91     /**
  92      * TODO:: 1. Change XML11Char method names similar to XMLChar. That will
  93      * prevent lot of dirty version checking code.
  94      *
  95      * 2. IMO during cloneNode qname/isXMLName check should not be made.
  96      */
  97     //
  98     // Constants
  99     //
 100 
 101     /** Serialization version. */
 102     static final long serialVersionUID = 0;
 103 
 104     //
 105     // Data
 106     //


< prev index next >