Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::xml::ProcessingInstruction Class Reference

#include <XMLDocument.h>

Inheritance diagram for util::xml::ProcessingInstruction:

util::xml::Node util::Object List of all members.

Detailed Description

Processing instruction represents a tag starting with '<?' in the XML markup.

Public Methods

 ProcessingInstruction (std::string n)
 Create a processing instruction node with the given name.

 ProcessingInstruction (std::string n, std::string str)
 Create a processing instruction node with the given name and contents.

std::string getName () const
 Get the name of this processing instruction.

void printOut (std::ostream &out) const throw (util::io::IOException&)
 Print out the contents of a processing instruction.

Public Attributes

std::string name
 The name of the instruction, i.e.

std::string contents
 The rest of the processing instruction.

Member Data Documentation

std::string util::xml::ProcessingInstruction::name

The name of the instruction, i.e.

the 'tag' part in <?tag>.

The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.