Classes | Public Member Functions | Static Public Attributes

com.cosylab.logging.engine.log.ILogEntry Interface Reference

Inheritance diagram for com.cosylab.logging.engine.log.ILogEntry:
com.cosylab.logging.engine.log.LogEntry com.cosylab.logging.engine.log.LogEntryXML

List of all members.

Classes

class  AdditionalData

Public Member Functions

String toXMLString ()
String toString ()
boolean hasDatas ()
Object getField (LogField field)
LogTypeHelper getType ()
void addData (String name, String value)
Vector< AdditionalDatagetAdditionalData ()

Static Public Attributes

static final String DATA_ELEMENT_TAG_NAME = "Data"
static final String HEADER_ELEMENT_TAG_NAME = "Header"
static final String LOG_ELEMENT_TAG_NAME = "Log"
static final String NAME_ATTRIBUTE_NAME = "Name"

Detailed Description

The interface for all the log entry. There are two kinds of log entries, one holding an XML node and another one lighter that has to be used whenever a Node is not required. The interface contains the common methods of each log entry class.

The interface extends the Serializable whose methods are used to read/write the logs from the cache

Author:
acaproni

Member Function Documentation

void com.cosylab.logging.engine.log.ILogEntry.addData ( String  name,
String  value 
)

Add data to this log It is a couple, <name,value>

Parameters:
name The name, i.e. the key of the pair
value The value of the field

Implemented in com.cosylab.logging.engine.log.LogEntry, and com.cosylab.logging.engine.log.LogEntryXML.

Referenced by alma.acs.logging.table.TablePopupMenu.actionPerformed().

String com.cosylab.logging.engine.log.ILogEntry.toString (  ) 
Returns:
A string to dump the log

Implemented in com.cosylab.logging.engine.log.LogEntry, and com.cosylab.logging.engine.log.LogEntryXML.

String com.cosylab.logging.engine.log.ILogEntry.toXMLString (  ) 

Member Data Documentation


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