Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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.


Member Function Documentation

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

synchronized ILogEntry alma::acs::logging::engine::parser::ACSLogParserDOM::parse String  string  )  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.


Member Data Documentation

DocumentBuilder alma::acs::logging::engine::parser::ACSLogParserDOM::builder = null [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:51 2009 for ACS Java API by doxygen 1.3.8