Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Teuchos::XMLParser Class Reference

XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuildingXMLHandler to construct an XMLObject. More...

#include <Teuchos_XMLParser.hpp>

Public Member Functions

 XMLParser (RCP< XMLInputStream > is)
 Constructor. More...
 
 ~XMLParser ()
 Destructor. More...
 
XMLObject parse ()
 Consume the XMLInputStream to build an XMLObject. More...
 

Detailed Description

XMLParser consumes characters from an XMLInputStream object, parsing the XML and using a TreeBuildingXMLHandler to construct an XMLObject.

Note: per the XML standard, certain characters must be represented with escape codes within fields:

     character            description             code
         <                 less-than              &lt;
         &                 ampersand              &amp;

Definition at line 70 of file Teuchos_XMLParser.hpp.

Constructor & Destructor Documentation

Teuchos::XMLParser::XMLParser ( RCP< XMLInputStream is)
inline

Constructor.

Definition at line 75 of file Teuchos_XMLParser.hpp.

Teuchos::XMLParser::~XMLParser ( )
inline

Destructor.

Definition at line 78 of file Teuchos_XMLParser.hpp.

Member Function Documentation

XMLObject XMLParser::parse ( )

Consume the XMLInputStream to build an XMLObject.

Definition at line 137 of file Teuchos_XMLParser.cpp.


The documentation for this class was generated from the following files: