buldocs Ltd.
xnsdoc 1.2.1 Java API

com.xnsdoc
Interface ProcessorListener

All Known Implementing Classes:
ConsoleListener

public interface ProcessorListener

Listener interface for logging.


Field Summary
static int DEBUG
          listening level.
static int ERROR
          listening level.
static int FATAL
          listening level.
static int INFO
          listening level.
static int WARN
          listening level.
 
Method Summary
 void debug(java.lang.String message)
          Log a message with debug log level.
 void end()
          Signals end of processing.
 void error(java.lang.String message)
          Log a message with error log level.
 void fatal(java.lang.String message)
          Log a message with fatal log level.
 int getLevel()
          Returns the current verbosity level.
 void info(java.lang.String message)
          Log a message with info log level.
 void setLevel(int level)
          Sets the verbosity level.
 void start(int componentCount)
          Signals start of processing.
 void warn(java.lang.String message)
          Log a message with warn log level.
 void worked(java.lang.String componentDescription)
          Signals start of processinga component.
 

Field Detail

DEBUG

public static final int DEBUG
listening level.

See Also:
Constant Field Values

ERROR

public static final int ERROR
listening level.

See Also:
Constant Field Values

FATAL

public static final int FATAL
listening level.

See Also:
Constant Field Values

INFO

public static final int INFO
listening level.

See Also:
Constant Field Values

WARN

public static final int WARN
listening level.

See Also:
Constant Field Values
Method Detail

debug

public void debug(java.lang.String message)
Log a message with debug log level.

Parameters:
message - the message of the event

end

public void end()
Signals end of processing.


error

public void error(java.lang.String message)
Log a message with error log level.

Parameters:
message - the message of the event

fatal

public void fatal(java.lang.String message)
Log a message with fatal log level.

Parameters:
message - the message of the event

getLevel

public int getLevel()
Returns the current verbosity level.

Returns:
current verbosity level

info

public void info(java.lang.String message)
Log a message with info log level.

Parameters:
message - the message of the event

setLevel

public void setLevel(int level)
Sets the verbosity level.

Parameters:
level - the new verbosity level

start

public void start(int componentCount)
Signals start of processing.

Parameters:
componentCount - total number components to process

warn

public void warn(java.lang.String message)
Log a message with warn log level.

Parameters:
message - the message of the event

worked

public void worked(java.lang.String componentDescription)
Signals start of processinga component.

Parameters:
componentDescription - description of currently processed components

buldocs Ltd.
xnsdoc 1.2.1 Java API

Copyright 2005 buldocs Ltd. All rights reserved.
Use is subject to license terms.