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

KHTML

  • sources
  • kde-4.12
  • kdelibs
  • 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 
35 namespace DOM {
36 
37 class CDATASectionImpl;
38 class EntityImpl;
39 class EntityReferenceImpl;
40 class NotationImpl;
41 class ProcessingInstructionImpl;
42 
43 
44 
66 class KHTML_EXPORT CDATASection : public Text
67 {
68  friend class Document;
69 public:
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();
79 protected:
80  CDATASection(CDATASectionImpl *i);
81 };
82 
83 class DOMString;
84 
124 class KHTML_EXPORT Entity : public Node
125 {
126 public:
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;
157 protected:
158  Entity(EntityImpl *i);
159 };
160 
161 
188 class KHTML_EXPORT EntityReference : public Node
189 {
190  friend class Document;
191 public:
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();
201 protected:
202  EntityReference(EntityReferenceImpl *i);
203 };
204 
205 class DOMString;
206 
222 class KHTML_EXPORT Notation : public Node
223 {
224 public:
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;
248 protected:
249  Notation(NotationImpl *i);
250 };
251 
252 
259 class KHTML_EXPORT ProcessingInstruction : public Node
260 {
261  friend class Document;
262 public:
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 
305 protected:
306  ProcessingInstruction(ProcessingInstructionImpl *i);
307 };
308 
309 } //namespace
310 #endif
DOM::ProcessingInstruction
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to ke...
Definition: dom_xml.h:259
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
DOM::Entity::Entity
Entity(const Node &other)
Definition: dom_xml.h:129
DOM::ProcessingInstruction::ProcessingInstruction
ProcessingInstruction(const Node &other)
Definition: dom_xml.h:265
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:124
DOM::EntityReference
EntityReference objects may be inserted into the structure model when an entity reference is in the s...
Definition: dom_xml.h:188
DOM::Text
The Text interface represents the textual content (termed character data in XML) of an Element or At...
Definition: dom_text.h:269
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
DOM::CDATASection
CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...
Definition: dom_xml.h:66
DOM::Document
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:245
dom_text.h
DOM::Notation::Notation
Notation(const Node &other)
Definition: dom_xml.h:227
DOM::CDATASection::CDATASection
CDATASection(const Node &other)
Definition: dom_xml.h:72
css_stylesheet.h
DOM::StyleSheet
The StyleSheet interface is the abstract base interface for any type of style sheet.
Definition: css_stylesheet.h:58
DOM::Notation
This interface represents a notation declared in the DTD.
Definition: dom_xml.h:222
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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