#include <cxxtools/xml/processinginstruction.h>

Public Member Functions | |
| ProcessingInstruction () | |
| Constructs a new ProcessingInstruction. | |
| ~ProcessingInstruction () | |
| Empty destructor. | |
| void | clear () |
| ProcessingInstruction * | clone () const |
| Clones this CData object by creating a duplicate on the heap and returning it. | |
| const String & | target () const |
| Returns the processor instruction's target. | |
| String & | target () |
| void | setTarget (const String &target) |
| Sets the processor instruction's target. | |
| const String & | data () const |
| Returns the processor instruction's data. | |
| String & | data () |
| void | setData (const String &data) |
| Sets the processor instruction's data. | |
To access the target, which may for example be a identifier for a specific XML processor, the method target() can be used. To access the data for this processor the method data() can be used.
| ProcessingInstruction* clone | ( | ) | const [virtual] |
| const String& target | ( | ) | const |
The target may be the XML processor for which this PI was added to the XML document.
| void setTarget | ( | const String & | target | ) |
| target | The target for this processing instruction. |
| const String& data | ( | ) | const |
The precise nature of the PI data depends on the XML processor for which this PI was added to the XML document. It usually contains special instructions for this processor.
| void setData | ( | const String & | data | ) |
| data | The data for this processing instruction. |