The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document. |
Inherits from |
Node |
Default Constructor |
ProcessingInstruction(GdomeProcessingInstruction* = 0) |
Creates a smart pointer for the Gdome element whose pointer is passed as an argument. The user should never pass a non-null pointer to this constructor. |
Copy and Cast Constructors |
ProcessingInstruction(const
ProcessingInstruction&)
ProcessingInstruction(const Node&) |
These constructors can be used to copy a smart pointer or to downcast it. If the downcasting is not possible, the resulting smart pointer will be null. |
Copy Operator |
ProcessingInstruction& operator=(const ProcessingInstruction&) |
Equality |
bool operator==(const
ProcessingInstruction&) const
bool operator!=(const ProcessingInstruction&) const |
Two smart pointers are equal if they point to the same Gdome object. |
Attributes |
DOMString get_target(void) const |
The target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction. |
DOMString get_data(void) const voidset_data(const DOMString& ) |
The content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>. |