• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • dom
dom_xml.h
Go to the documentation of this file.
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * Copyright 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 KHTML_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 KHTML_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 KHTML_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 KHTML_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 KHTML_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::CDATASection::CDATASection
CDATASection(const Node &other)
Definition: dom_xml.h:72
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::EntityReference::EntityReference
EntityReference(const Node &other)
Definition: dom_xml.h:194
DOM::Entity
This interface represents an entity, either parsed or unparsed, in an XML document.
Definition: dom_xml.h:125
DOM::Entity::Entity
Entity(const Node &other)
Definition: dom_xml.h:129
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
DOM::Notation
This interface represents a notation declared in the DTD.
Definition: dom_xml.h:223
DOM::Notation::Notation
Notation(const Node &other)
Definition: dom_xml.h:227
DOM::ProcessingInstruction
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to ke...
Definition: dom_xml.h:260
DOM::ProcessingInstruction::ProcessingInstruction
ProcessingInstruction(const Node &other)
Definition: dom_xml.h:265
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
css_stylesheet.h
dom_text.h
DOM
This library provides a full-featured HTML parser and widget.
Definition: design.h:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal