• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
  • dom
dom_xml.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * (C) 1999 Lars Knoll (knoll@kde.org)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * This file includes excerpts from the Document Object Model (DOM)
22 * Level 1 Specification (Recommendation)
23 * http://www.w3.org/TR/REC-DOM-Level-1/
24 * Copyright © World Wide Web Consortium , (Massachusetts Institute of
25 * Technology , Institut National de Recherche en Informatique et en
26 * Automatique , Keio University ). All Rights Reserved.
27 *
28 */
29#ifndef _DOM_XML_h
30#define _DOM_XML_h
31
32#include <dom/dom_text.h>
33#include <dom/css_stylesheet.h>
34
35namespace DOM {
36
37class CDATASectionImpl;
38class EntityImpl;
39class EntityReferenceImpl;
40class NotationImpl;
41class ProcessingInstructionImpl;
42
43
44
66class TDEHTML_EXPORT CDATASection : public Text
67{
68 friend class Document;
69public:
70 CDATASection();
71 CDATASection(const CDATASection &other);
72 CDATASection(const Node &other) : Text()
73 {(*this)=other;}
74
75 CDATASection & operator = (const Node &other);
76 CDATASection & operator = (const CDATASection &other);
77
78 ~CDATASection();
79protected:
80 CDATASection(CDATASectionImpl *i);
81};
82
83class DOMString;
84
124class TDEHTML_EXPORT Entity : public Node
125{
126public:
127 Entity();
128 Entity(const Entity &other);
129 Entity(const Node &other) : Node()
130 {(*this)=other;}
131
132 Entity & operator = (const Node &other);
133 Entity & operator = (const Entity &other);
134
135 ~Entity();
136
142 DOMString publicId() const;
143
149 DOMString systemId() const;
150
156 DOMString notationName() const;
157protected:
158 Entity(EntityImpl *i);
159};
160
161
188class TDEHTML_EXPORT EntityReference : public Node
189{
190 friend class Document;
191public:
192 EntityReference();
193 EntityReference(const EntityReference &other);
194 EntityReference(const Node &other) : Node()
195 {(*this)=other;}
196
197 EntityReference & operator = (const Node &other);
198 EntityReference & operator = (const EntityReference &other);
199
200 ~EntityReference();
201protected:
202 EntityReference(EntityReferenceImpl *i);
203};
204
205class DOMString;
206
222class TDEHTML_EXPORT Notation : public Node
223{
224public:
225 Notation();
226 Notation(const Notation &other);
227 Notation(const Node &other) : Node()
228 {(*this)=other;}
229
230 Notation & operator = (const Node &other);
231 Notation & operator = (const Notation &other);
232
233 ~Notation();
234
240 DOMString publicId() const;
241
247 DOMString systemId() const;
248protected:
249 Notation(NotationImpl *i);
250};
251
252
259class TDEHTML_EXPORT ProcessingInstruction : public Node
260{
261 friend class Document;
262public:
263 ProcessingInstruction();
264 ProcessingInstruction(const ProcessingInstruction &other);
265 ProcessingInstruction(const Node &other) : Node()
266 {(*this)=other;}
267
268 ProcessingInstruction & operator = (const Node &other);
269 ProcessingInstruction & operator = (const ProcessingInstruction &other);
270
271 ~ProcessingInstruction();
272
279 DOMString target() const;
280
287 DOMString data() const;
288
295 void setData( const DOMString & );
296
303 StyleSheet sheet() const;
304
305protected:
306 ProcessingInstruction(ProcessingInstructionImpl *i);
307};
308
309} //namespace
310#endif
DOM::CDATASection
CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...
Definition: dom_xml.h:67
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
DOM::EntityReference
EntityReference objects may be inserted into the structure model when an entity reference is in the s...
Definition: dom_xml.h:189
DOM::Entity
This interface represents an entity, either parsed or unparsed, in an XML document.
Definition: dom_xml.h:125
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
DOM::Notation
This interface represents a notation declared in the DTD.
Definition: dom_xml.h:223
DOM::ProcessingInstruction
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to ke...
Definition: dom_xml.h:260
DOM::StyleSheet
The StyleSheet interface is the abstract base interface for any type of style sheet.
Definition: css_stylesheet.h:59
DOM::Text
The Text interface represents the textual content (termed character data in XML) of an Element or At...
Definition: dom_text.h:270
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.