KHtml
23 #include "dom/dom_xml.h"
24 #include "dom/dom_exception.h"
25 #include "xml/dom_textimpl.h"
26 #include "xml/dom_xmlimpl.h"
30 CDATASection::CDATASection()
40 NodeImpl *ohandle = other.
handle();
41 if (impl != ohandle) {
42 if (!ohandle || ohandle->nodeType() != CDATA_SECTION_NODE) {
48 Node::operator =(other);
56 Node::operator =(other);
60 CDATASection::~CDATASection()
64 CDATASection::CDATASection(CDATASectionImpl *i) :
Text(i)
79 NodeImpl *ohandle = other.
handle();
80 if (impl != ohandle) {
81 if (!ohandle || ohandle->nodeType() != ENTITY_NODE) {
87 Node::operator =(other);
95 Node::operator =(other);
109 return ((EntityImpl *)impl)->publicId();
118 return ((EntityImpl *)impl)->systemId();
127 return ((EntityImpl *)impl)->notationName();
130 Entity::Entity(EntityImpl *i) :
Node(i)
136 EntityReference::EntityReference()
146 NodeImpl *ohandle = other.
handle();
147 if (impl != ohandle) {
148 if (!ohandle || ohandle->nodeType() != ENTITY_REFERENCE_NODE) {
154 Node::operator =(other);
162 Node::operator =(other);
166 EntityReference::~EntityReference()
170 EntityReference::EntityReference(EntityReferenceImpl *i) :
Node(i)
186 NodeImpl *ohandle = other.
handle();
187 if (impl != ohandle) {
188 if (!ohandle || ohandle->nodeType() != NOTATION_NODE) {
194 Node::operator =(other);
202 Node::operator =(other);
206 Notation::~Notation()
216 return ((NotationImpl *)impl)->publicId();
225 return ((NotationImpl *)impl)->systemId();
228 Notation::Notation(NotationImpl *i) :
Node(i)
234 ProcessingInstruction::ProcessingInstruction()
245 NodeImpl *ohandle = other.
handle();
246 if (impl != ohandle) {
247 if (!ohandle || ohandle->nodeType() != PROCESSING_INSTRUCTION_NODE) {
253 Node::operator =(other);
261 Node::operator =(other);
265 ProcessingInstruction::~ProcessingInstruction()
275 return ((ProcessingInstructionImpl *)impl)->target();
284 return ((ProcessingInstructionImpl *)impl)->data();
293 int exceptioncode = 0;
294 ((ProcessingInstructionImpl *)impl)->setData(_data, exceptioncode);
300 ProcessingInstruction::ProcessingInstruction(ProcessingInstructionImpl *i) :
Node(i)
307 return ((ProcessingInstructionImpl *)impl)->sheet();
DOMString target() const
The target of this processing instruction.
void setData(const DOMString &)
see data
DOMString notationName() const
For unparsed entities, the name of the notation for the entity.
DOMString systemId() const
The system identifier of this notation.
This interface represents an entity, either parsed or unparsed, in an XML document.
This library provides a full-featured HTML parser and widget.
StyleSheet sheet() const
Introduced in DOM Level 2 This method is from the LinkStyle interface.
The StyleSheet interface is the abstract base interface for any type of style sheet.
DOMString data() const
The content of this processing instruction.
The Text interface represents the textual content (termed character data in XML) of an Element or At...
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
DOMString publicId() const
The public identifier associated with the entity, if specified.
CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...
DOMString publicId() const
The public identifier of this notation.
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to ke...
This class implements the basic string we use in the DOM.
This interface represents a notation declared in the DTD.
The Node interface is the primary datatype for the entire Document Object Model.
NodeImpl * handle() const
DOMString systemId() const
The system identifier associated with the entity, if specified.
EntityReference objects may be inserted into the structure model when an entity reference is in the s...
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:03:52 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.