KHTML
DOM::ProcessingInstruction Class Reference
TheProcessingInstruction
interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
More...
#include <dom_xml.h>
Public Member Functions | |
DOMString | data () const |
ProcessingInstruction & | operator= (const ProcessingInstruction &other) |
ProcessingInstruction & | operator= (const Node &other) |
ProcessingInstruction (const Node &other) | |
ProcessingInstruction (const ProcessingInstruction &other) | |
ProcessingInstruction () | |
void | setData (const DOMString &) |
StyleSheet | sheet () const |
DOMString | target () const |
~ProcessingInstruction () | |
Protected Member Functions | |
ProcessingInstruction (ProcessingInstructionImpl *i) |
Detailed Description
TheProcessingInstruction
interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
Definition at line 259 of file dom_xml.h.
Constructor & Destructor Documentation
ProcessingInstruction::ProcessingInstruction | ( | ) |
Definition at line 223 of file dom_xml.cpp.
ProcessingInstruction::ProcessingInstruction | ( | const ProcessingInstruction & | other | ) |
Definition at line 227 of file dom_xml.cpp.
DOM::ProcessingInstruction::ProcessingInstruction | ( | const Node & | other | ) | [inline] |
ProcessingInstruction::~ProcessingInstruction | ( | ) |
Definition at line 252 of file dom_xml.cpp.
ProcessingInstruction::ProcessingInstruction | ( | ProcessingInstructionImpl * | i | ) | [protected] |
Definition at line 283 of file dom_xml.cpp.
Member Function Documentation
DOMString ProcessingInstruction::data | ( | ) | const |
The content of this processing instruction.
This is from the first non white space character after the target to the character immediately preceding the ?> .
Definition at line 264 of file dom_xml.cpp.
ProcessingInstruction & ProcessingInstruction::operator= | ( | const ProcessingInstruction & | other | ) |
Definition at line 246 of file dom_xml.cpp.
ProcessingInstruction & ProcessingInstruction::operator= | ( | const Node & | other | ) |
void ProcessingInstruction::setData | ( | const DOMString & | _data | ) |
see data
- Exceptions:
-
DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
Definition at line 272 of file dom_xml.cpp.
StyleSheet ProcessingInstruction::sheet | ( | ) | const |
Introduced in DOM Level 2 This method is from the LinkStyle interface.
The style sheet.
Definition at line 287 of file dom_xml.cpp.
DOMString ProcessingInstruction::target | ( | ) | const |
The target of this processing instruction.
XML defines this as being the first token following the markup that begins the processing instruction.
Definition at line 256 of file dom_xml.cpp.
The documentation for this class was generated from the following files: