dom_xml.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _DOM_XML_h
00030 #define _DOM_XML_h
00031
00032 #include <dom/dom_text.h>
00033 #include <dom/css_stylesheet.h>
00034
00035 namespace DOM {
00036
00037 class CDATASectionImpl;
00038 class EntityImpl;
00039 class EntityReferenceImpl;
00040 class NotationImpl;
00041 class ProcessingInstructionImpl;
00042
00043
00044
00066 class KHTML_EXPORT CDATASection : public Text
00067 {
00068 friend class Document;
00069 public:
00070 CDATASection();
00071 CDATASection(const CDATASection &other);
00072 CDATASection(const Node &other) : Text()
00073 {(*this)=other;}
00074
00075 CDATASection & operator = (const Node &other);
00076 CDATASection & operator = (const CDATASection &other);
00077
00078 ~CDATASection();
00079 protected:
00080 CDATASection(CDATASectionImpl *i);
00081 };
00082
00083 class DOMString;
00084
00124 class KHTML_EXPORT Entity : public Node
00125 {
00126 public:
00127 Entity();
00128 Entity(const Entity &other);
00129 Entity(const Node &other) : Node()
00130 {(*this)=other;}
00131
00132 Entity & operator = (const Node &other);
00133 Entity & operator = (const Entity &other);
00134
00135 ~Entity();
00136
00142 DOMString publicId() const;
00143
00149 DOMString systemId() const;
00150
00156 DOMString notationName() const;
00157 protected:
00158 Entity(EntityImpl *i);
00159 };
00160
00161
00188 class KHTML_EXPORT EntityReference : public Node
00189 {
00190 friend class Document;
00191 public:
00192 EntityReference();
00193 EntityReference(const EntityReference &other);
00194 EntityReference(const Node &other) : Node()
00195 {(*this)=other;}
00196
00197 EntityReference & operator = (const Node &other);
00198 EntityReference & operator = (const EntityReference &other);
00199
00200 ~EntityReference();
00201 protected:
00202 EntityReference(EntityReferenceImpl *i);
00203 };
00204
00205 class DOMString;
00206
00222 class KHTML_EXPORT Notation : public Node
00223 {
00224 public:
00225 Notation();
00226 Notation(const Notation &other);
00227 Notation(const Node &other) : Node()
00228 {(*this)=other;}
00229
00230 Notation & operator = (const Node &other);
00231 Notation & operator = (const Notation &other);
00232
00233 ~Notation();
00234
00240 DOMString publicId() const;
00241
00247 DOMString systemId() const;
00248 protected:
00249 Notation(NotationImpl *i);
00250 };
00251
00252
00259 class KHTML_EXPORT ProcessingInstruction : public Node
00260 {
00261 friend class Document;
00262 public:
00263 ProcessingInstruction();
00264 ProcessingInstruction(const ProcessingInstruction &other);
00265 ProcessingInstruction(const Node &other) : Node()
00266 {(*this)=other;}
00267
00268 ProcessingInstruction & operator = (const Node &other);
00269 ProcessingInstruction & operator = (const ProcessingInstruction &other);
00270
00271 ~ProcessingInstruction();
00272
00279 DOMString target() const;
00280
00287 DOMString data() const;
00288
00295 void setData( const DOMString & );
00296
00303 StyleSheet sheet() const;
00304
00305 protected:
00306 ProcessingInstruction(ProcessingInstructionImpl *i);
00307 };
00308
00309 }
00310 #endif
|