dom_xml.h
/*
* This file is part of the DOM implementation for KDE.
*
* (C) 1999 Lars Knoll (knoll@kde.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
* This file includes excerpts from the Document Object Model (DOM)
* Level 1 Specification (Recommendation)
* http://www.w3.org/TR/REC-DOM-Level-1/
* Copyright © World Wide Web Consortium , (Massachusetts Institute of
* Technology , Institut National de Recherche en Informatique et en
* Automatique , Keio University ). All Rights Reserved.
*
*/
#ifndef _DOM_XML_h
#define _DOM_XML_h
#include <dom/dom_text.h>
#include <dom/css_stylesheet.h>
namespace DOM {
class CDATASectionImpl;
class EntityImpl;
class EntityReferenceImpl;
class NotationImpl;
class ProcessingInstructionImpl;
class KHTML_EXPORT CDATASection : public Text
{
friend class Document;
public:
CDATASection();
CDATASection(const CDATASection &other);
CDATASection(const Node &other) : Text()
{(*this)=other;}
CDATASection & operator = (const Node &other);
CDATASection & operator = (const CDATASection &other);
~CDATASection();
protected:
CDATASection(CDATASectionImpl *i);
};
class DOMString;
class KHTML_EXPORT Entity : public Node
{
public:
Entity();
Entity(const Entity &other);
Entity(const Node &other) : Node()
{(*this)=other;}
Entity & operator = (const Node &other);
Entity & operator = (const Entity &other);
~Entity();
DOMString publicId() const;
DOMString systemId() const;
DOMString notationName() const;
protected:
Entity(EntityImpl *i);
};
class KHTML_EXPORT EntityReference : public Node
{
friend class Document;
public:
EntityReference();
EntityReference(const EntityReference &other);
EntityReference(const Node &other) : Node()
{(*this)=other;}
EntityReference & operator = (const Node &other);
EntityReference & operator = (const EntityReference &other);
~EntityReference();
protected:
EntityReference(EntityReferenceImpl *i);
};
class DOMString;
class KHTML_EXPORT Notation : public Node
{
public:
Notation();
Notation(const Notation &other);
Notation(const Node &other) : Node()
{(*this)=other;}
Notation & operator = (const Node &other);
Notation & operator = (const Notation &other);
~Notation();
DOMString publicId() const;
DOMString systemId() const;
protected:
Notation(NotationImpl *i);
};
class KHTML_EXPORT ProcessingInstruction : public Node
{
friend class Document;
public:
ProcessingInstruction();
ProcessingInstruction(const ProcessingInstruction &other);
ProcessingInstruction(const Node &other) : Node()
{(*this)=other;}
ProcessingInstruction & operator = (const Node &other);
ProcessingInstruction & operator = (const ProcessingInstruction &other);
~ProcessingInstruction();
DOMString target() const;
DOMString data() const;
void setData( const DOMString & );
StyleSheet sheet() const;
protected:
ProcessingInstruction(ProcessingInstructionImpl *i);
};
} //namespace
#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:274
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::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

KDE Home | KDE Accessibility Home | Description of Access Keys