• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

dom_xml.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the DOM implementation for KDE.
00003  *
00004  * (C) 1999 Lars Knoll (knoll@kde.org)
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Library General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Library General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Library General Public License
00017  * along with this library; see the file COPYING.LIB.  If not, write to
00018  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  *
00021  * This file includes excerpts from the Document Object Model (DOM)
00022  * Level 1 Specification (Recommendation)
00023  * http://www.w3.org/TR/REC-DOM-Level-1/
00024  * Copyright © World Wide Web Consortium , (Massachusetts Institute of
00025  * Technology , Institut National de Recherche en Informatique et en
00026  * Automatique , Keio University ). All Rights Reserved.
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 } //namespace
00310 #endif

KHTML

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal