Public Member Functions

alma.acs.logging.engine.parser.ACSLogParser Interface Reference

Inheritance diagram for alma.acs.logging.engine.parser.ACSLogParser:
alma.acs.logging.engine.parser.ACSLogParserDOM alma.acs.logging.engine.parser.ACSLogParserVTD

List of all members.

Public Member Functions

abstract ILogEntry parse (String xmlString) throws LogParseException

Detailed Description

Interface to allow different types of parsers to be plugged in. Currently, two types exist, perhaps more could be written in the future. However, in all likelihood we will only use one (e.g. the fastest one) in the 'real' world.

Author:
sharring

Member Function Documentation

abstract ILogEntry alma.acs.logging.engine.parser.ACSLogParser.parse ( String  xmlString  )  throws LogParseException [pure 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.

Implemented in alma.acs.logging.engine.parser.ACSLogParserDOM, and alma.acs.logging.engine.parser.ACSLogParserVTD.

Referenced by com.cosylab.logging.engine.ACS.ACSLogRetrieval.run().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties