new test case
[cxml.git] / dom / package.lisp
blob5a2a6446724ce1bacc0c2202eb80075d66c79209
1 ;;;; package.lisp -- Paketdefinition
2 ;;;;
3 ;;;; This file is part of the CXML parser, released under Lisp-LGPL.
4 ;;;; See file COPYING for details.
6 (in-package :cl-user)
8 (defpackage :dom
9 (:use)
10 (:export
11 ;; DOM 2 functions
12 #:owner-element
13 #:import-node
14 #:create-element-ns
15 #:create-attribute-ns
16 #:get-elements-by-tag-name-ns
17 #:get-element-by-id
18 #:get-named-item-ns
19 #:set-named-item-ns
20 #:remove-named-item-ns
21 #:is-supported
22 #:has-attributes
23 #:namespace-uri
24 #:prefix
25 #:local-name
26 #:internal-subset
27 #:create-document-type
28 #:create-document
29 #:get-attribute-ns
30 #:set-attribute-ns
31 #:remove-attribute-ns
32 #:get-attribute-node-ns
33 #:set-attribute-node-ns
34 #:has-attribute
35 #:has-attribute-ns
37 ;; DOM 1 functions
38 #:has-feature
39 #:doctype
40 #:implementation
41 #:document-element
42 #:create-element
43 #:create-document-fragment
44 #:create-text-node
45 #:create-comment
46 #:create-cdata-section
47 #:create-processing-instruction
48 #:create-attribute
49 #:create-entity-reference
50 #:get-elements-by-tag-name
51 #:node-name
52 #:node-value
53 #:node-type
54 #:parent-node
55 #:child-nodes
56 #:first-child
57 #:last-child
58 #:previous-sibling
59 #:next-sibling
60 #:attributes
61 #:owner-document
62 #:insert-before
63 #:replace-child
64 #:remove-child
65 #:append-child
66 #:has-child-nodes
67 #:clone-node
68 #:item
69 #:length
70 #:get-named-item
71 #:set-named-item
72 #:remove-named-item
73 #:data
74 #:substring-data
75 #:append-data
76 #:insert-data
77 #:delete-data
78 #:replace-data
79 #:name
80 #:specified
81 #:value
82 #:tag-name
83 #:get-attribute
84 #:set-attribute
85 #:remove-attribute
86 #:get-attribute-node
87 #:set-attribute-node
88 #:remove-attribute-node
89 #:normalize
90 #:split-text
91 #:entities
92 #:notations
93 #:public-id
94 #:system-id
95 #:notation-name
96 #:target
97 #:code
99 ;; IDL interfaces, exported "inofficially"
100 #:node
101 #:document
102 #:document-fragment
103 #:character-data
104 #:attr
105 #:element
106 #:text
107 #:comment
108 #:cdata-section
109 #:document-type
110 #:notation
111 #:entity
112 #:entity-reference
113 #:processing-instruction
114 #:named-node-map
115 ;; no classes:
116 ;;; #:dom-implementation
117 ;;; #:node-list
120 #:items
123 #:node-p
124 #:document-p
125 #:document-fragment-p
126 #:character-data-p
127 #:attribute-p
128 #:element-p
129 #:text-node-p
130 #:comment-p
131 #:cdata-section-p
132 #:document-type-p
133 #:notation-p
134 #:entity-p
135 #:entity-reference-p
136 #:processing-instruction-p
137 #:named-node-map-p
139 #:map-node-list
140 #:do-node-list
141 #:map-node-map
142 #:do-node-map
143 #:create-document
144 #:map-document))
146 (defclass dom:node () ())
147 (defclass dom:document (dom:node) ())
148 (defclass dom:document-fragment (dom:node) ())
149 (defclass dom:character-data (dom:node) ())
150 (defclass dom:attr (dom:node) ())
151 (defclass dom:element (dom:node) ())
152 (defclass dom:text (dom:character-data) ())
153 (defclass dom:comment (dom:character-data) ())
154 (defclass dom:cdata-section (dom:text) ())
155 (defclass dom:document-type (dom:node) ())
156 (defclass dom:notation (dom:node) ())
157 (defclass dom:entity (dom:node) ())
158 (defclass dom:entity-reference (dom:node) ())
159 (defclass dom:processing-instruction (dom:node) ())
161 (defclass dom:named-node-map () ())