com.pnp.xfeature.utils
Class Report

java.lang.Object
  extended by com.pnp.xfeature.utils.Report

public class Report
extends java.lang.Object

Logger class used to report various information at runtime.

Author:
Kamil Ekstein, created on 5.11.2004, updated on 22.2.2005 by Ondrej Rohlik

Field Summary
static boolean verbose
           
 
Constructor Summary
Report()
           
 
Method Summary
static void debug(java.lang.String msg)
          Displays the debugging message msg to the error log
static void disp(java.lang.String msg)
          Displays the message msg to the error log
static void error(java.lang.String msg, java.lang.Throwable e)
          Displays the error message msg to the error log
static void log(int severity, int code, java.lang.String msg, java.lang.Throwable e)
          Displays the trace message msg to the error log
static void mb(java.lang.String msg)
          Displays the message msg in a messago box
static void node(org.w3c.dom.Node node, org.w3c.dom.Document metamodel)
          Displays detailed inforamtion about a Node instance to console
static void trace(java.lang.String msg)
          Displays the trace message msg to the error log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

public static boolean verbose
Constructor Detail

Report

public Report()
Method Detail

log

public static void log(int severity,
                       int code,
                       java.lang.String msg,
                       java.lang.Throwable e)
Displays the trace message msg to the error log


debug

public static void debug(java.lang.String msg)
Displays the debugging message msg to the error log


trace

public static void trace(java.lang.String msg)
Displays the trace message msg to the error log


disp

public static void disp(java.lang.String msg)
Displays the message msg to the error log


error

public static void error(java.lang.String msg,
                         java.lang.Throwable e)
Displays the error message msg to the error log


mb

public static void mb(java.lang.String msg)
Displays the message msg in a messago box


node

public static void node(org.w3c.dom.Node node,
                        org.w3c.dom.Document metamodel)
Displays detailed inforamtion about a Node instance to console



Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.