1 /*
2 * Copyright (c) 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 /**
27 * This class represents a Document Type <em>declaraction</em> in
28 * the document itself, <em>not</em> a Document Type Definition (DTD).
29 * An XML document may (or may not) have such a reference.
30 * <P>
31 * DocumentType is an Extended DOM feature, used in XML documents but
32 * not in HTML.
33 * <P>
34 * Note that Entities and Notations are no longer children of the
35 * DocumentType, but are parentless nodes hung only in their
36 * appropriate NamedNodeMaps.
37 * <P>
38 * This area is UNDERSPECIFIED IN REC-DOM-Level-1-19981001
39 * Most notably, absolutely no provision was made for storing
40 * and using Element and Attribute information. Nor was the linkage
41 * between Entities and Entity References nailed down solidly.
42 *
43 * @xerces.internal
44 *
45 * @since PR-DOM-Level-1-19980818.
46 */
47 public class DeferredDocumentTypeImpl
48 extends DocumentTypeImpl
49 implements DeferredNode {
50
51 //
52 // Constants
53 //
54
55 /** Serialization version. */
56 static final long serialVersionUID = -2172579663227313509L;
57
58 //
59 // Data
60 //
61
62 /** Node index. */
63 protected transient int fNodeIndex;
64
65 //
|
1 /*
2 * Copyright (c) 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 /**
26 * This class represents a Document Type <em>declaraction</em> in
27 * the document itself, <em>not</em> a Document Type Definition (DTD).
28 * An XML document may (or may not) have such a reference.
29 * <P>
30 * DocumentType is an Extended DOM feature, used in XML documents but
31 * not in HTML.
32 * <P>
33 * Note that Entities and Notations are no longer children of the
34 * DocumentType, but are parentless nodes hung only in their
35 * appropriate NamedNodeMaps.
36 * <P>
37 * This area is UNDERSPECIFIED IN REC-DOM-Level-1-19981001
38 * Most notably, absolutely no provision was made for storing
39 * and using Element and Attribute information. Nor was the linkage
40 * between Entities and Entity References nailed down solidly.
41 *
42 * @xerces.internal
43 *
44 * @since PR-DOM-Level-1-19980818.
45 * @LastModified: Oct 2017
46 */
47 public class DeferredDocumentTypeImpl
48 extends DocumentTypeImpl
49 implements DeferredNode {
50
51 //
52 // Constants
53 //
54
55 /** Serialization version. */
56 static final long serialVersionUID = -2172579663227313509L;
57
58 //
59 // Data
60 //
61
62 /** Node index. */
63 protected transient int fNodeIndex;
64
65 //
|