alma::acs::logging::engine::parser::ACSLogParserDOM Class Reference

Inheritance diagram for alma::acs::logging::engine::parser::ACSLogParserDOM:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::engine::parser::ACSLogParserDOM:
Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized ILogEntry parse (String string) throws LogParseException

Package Functions

 ACSLogParserDOM () throws ParserConfigurationException

Private Member Functions

void initialize () throws ParserConfigurationException

Private Attributes

DocumentBuilder builder = null

Detailed Description

ACSLogParserDOM is used for parsing an xml string (representing an XML element such as <Info>,<Debug> and so on) to produce a valid LogEntryXML.

It will typically get the string from the ACSStructuredPushConsumer class where the logs get delivered from the CORBA Logging Service.


Constructor & Destructor Documentation

alma::acs::logging::engine::parser::ACSLogParserDOM::ACSLogParserDOM (  )  throws ParserConfigurationException [inline, package]

ACSLogParserDOM constructor comment.

References initialize().


Member Function Documentation

void alma::acs::logging::engine::parser::ACSLogParserDOM::initialize (  )  throws ParserConfigurationException [inline, private]

References builder.

Referenced by ACSLogParserDOM().

synchronized ILogEntry alma::acs::logging::engine::parser::ACSLogParserDOM::parse ( String  xmlString  )  throws LogParseException [inline, virtual]

Parses the xmlLog. This method must be synchronized to ensure that the parser parses only one log at a time.

Parameters:
xmlString the xml string to parse.
Returns:
object implementing the ILogEntry interface, containing the parsed data for the log.
Exceptions:
LogParseException if parsing problems are encountered.

Implements alma::acs::logging::engine::parser::ACSLogParser.

References builder.


Member Data Documentation

Referenced by initialize(), and parse().


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

Generated by  doxygen 1.6.2