File tree 18 files changed +36
-0
lines changed
src/java.xml/share/classes/org/w3c/dom
18 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 187
187
* </tbody>
188
188
* </table>
189
189
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
190
+ *
191
+ * @since 1.4, DOM Level 2
190
192
*/
191
193
public interface Attr extends Node {
192
194
/**
Original file line number Diff line number Diff line change 78
78
* exception when a character is missing from the encoding, making the task
79
79
* of ensuring that data is not corrupted on serialization more difficult.
80
80
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
81
+ *
82
+ * @since 1.4, DOM Level 2
81
83
*/
82
84
public interface CDATASection extends Text {
83
85
}
Original file line number Diff line number Diff line change 54
54
* the following, the term 16-bit units is used whenever necessary to
55
55
* indicate that indexing on CharacterData is done in 16-bit units.
56
56
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
57
+ *
58
+ * @since 1.4, DOM Level 2
57
59
*/
58
60
public interface CharacterData extends Node {
59
61
/**
Original file line number Diff line number Diff line change 54
54
* presence of this character sequence must generate a fatal error during
55
55
* serialization.
56
56
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
57
+ *
58
+ * @since 1.4, DOM Level 2
57
59
*/
58
60
public interface Comment extends CharacterData {
59
61
}
Original file line number Diff line number Diff line change 58
58
* methods may return error codes similar to those listed in the
59
59
* corresponding method descriptions.
60
60
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
61
+ *
62
+ * @since 1.4, DOM Level 2
61
63
*/
62
64
public class DOMException extends RuntimeException {
63
65
public DOMException (short code , String message ) {
Original file line number Diff line number Diff line change 46
46
* for performing operations that are independent of any particular instance
47
47
* of the document object model.
48
48
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
49
+ *
50
+ * @since 1.4, DOM Level 2
49
51
*/
50
52
public interface DOMImplementation {
51
53
/**
Original file line number Diff line number Diff line change 52
52
* <code>ownerDocument</code> attribute which associates them with the
53
53
* <code>Document</code> within whose context they were created.
54
54
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
55
+ *
56
+ * @since 1.4, DOM Level 2
55
57
*/
56
58
public interface Document extends Node {
57
59
/**
Original file line number Diff line number Diff line change 77
77
* interface, such as <code>Node.insertBefore</code> and
78
78
* <code>Node.appendChild</code>.
79
79
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
80
+ *
81
+ * @since 1.4, DOM Level 2
80
82
*/
81
83
public interface DocumentFragment extends Node {
82
84
}
Original file line number Diff line number Diff line change 51
51
* <p>DOM Level 3 doesn't support editing <code>DocumentType</code> nodes.
52
52
* <code>DocumentType</code> nodes are read-only.
53
53
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
54
+ *
55
+ * @since 1.4, DOM Level 2
54
56
*/
55
57
public interface DocumentType extends Node {
56
58
/**
Original file line number Diff line number Diff line change 57
57
* <p ><b>Note:</b> In DOM Level 2, the method <code>normalize</code> is
58
58
* inherited from the <code>Node</code> interface where it was moved.
59
59
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
60
+ *
61
+ * @since 1.4, DOM Level 2
60
62
*/
61
63
public interface Element extends Node {
62
64
/**
Original file line number Diff line number Diff line change 71
71
* they are created using the <code>createEntityReference</code> method of
72
72
* the <code>Document</code> interface.
73
73
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
74
+ *
75
+ * @since 1.4, DOM Level 2
74
76
*/
75
77
public interface Entity extends Node {
76
78
/**
Original file line number Diff line number Diff line change 67
67
* 1.0 and XML Schema, the normalization is performed after entity reference
68
68
* are expanded.
69
69
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
70
+ *
71
+ * @since 1.4, DOM Level 2
70
72
*/
71
73
public interface EntityReference extends Node {
72
74
}
Original file line number Diff line number Diff line change 52
52
* and does not imply that the DOM specifies an order to these Nodes.
53
53
* <p><code>NamedNodeMap</code> objects in the DOM are live.
54
54
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
55
+ *
56
+ * @since 1.4, DOM Level 2
55
57
*/
56
58
public interface NamedNodeMap {
57
59
/**
Original file line number Diff line number Diff line change 166
166
* </tbody>
167
167
* </table>
168
168
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
169
+ *
170
+ * @since 1.4, DOM Level 2
169
171
*/
170
172
public interface Node {
171
173
// NodeType
Original file line number Diff line number Diff line change 48
48
* <p>The items in the <code>NodeList</code> are accessible via an integral
49
49
* index, starting from 0.
50
50
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
51
+ *
52
+ * @since 1.4, DOM Level 2
51
53
*/
52
54
public interface NodeList {
53
55
/**
Original file line number Diff line number Diff line change 51
51
* are therefore readonly.
52
52
* <p>A <code>Notation</code> node does not have any parent.
53
53
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
54
+ *
55
+ * @since 1.4, DOM Level 2
54
56
*/
55
57
public interface Notation extends Node {
56
58
/**
Original file line number Diff line number Diff line change 52
52
* presence of this character sequence must generate a fatal error during
53
53
* serialization.
54
54
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
55
+ *
56
+ * @since 1.4, DOM Level 2
55
57
*/
56
58
public interface ProcessingInstruction extends Node {
57
59
/**
Original file line number Diff line number Diff line change 65
65
* the quotation mark character " or the apostrophe character ' when part of
66
66
* an attribute.
67
67
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
68
+ *
69
+ * @since 1.4, DOM Level 2
68
70
*/
69
71
public interface Text extends CharacterData {
70
72
/**
You can’t perform that action at this time.
0 commit comments