org.oXML.engine.template
Class LogTemplate

java.lang.Object
  extended byorg.oXML.engine.template.EvalTemplate
      extended byorg.oXML.engine.template.LogTemplate
All Implemented Interfaces:
Template

public class LogTemplate
extends EvalTemplate


Field Summary
static int DEBUG_LEVEL
           
static int DEFAULT_LEVEL
           
static int ERROR_LEVEL
           
static int INFO_LEVEL
           
static int WARNING_LEVEL
           
 
Fields inherited from class org.oXML.engine.template.EvalTemplate
body, select
 
Constructor Summary
LogTemplate(int level, Expression select)
           
LogTemplate(int level, Template body)
           
 
Method Summary
protected  void log(java.lang.String msg)
           
protected  void output(ResultDirector dir, Node node)
           
 void process(RuntimeContext env)
           
 
Methods inherited from class org.oXML.engine.template.EvalTemplate
evaluate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG_LEVEL

public static final int DEBUG_LEVEL
See Also:
Constant Field Values

INFO_LEVEL

public static final int INFO_LEVEL
See Also:
Constant Field Values

WARNING_LEVEL

public static final int WARNING_LEVEL
See Also:
Constant Field Values

ERROR_LEVEL

public static final int ERROR_LEVEL
See Also:
Constant Field Values

DEFAULT_LEVEL

public static final int DEFAULT_LEVEL
See Also:
Constant Field Values
Constructor Detail

LogTemplate

public LogTemplate(int level,
                   Expression select)

LogTemplate

public LogTemplate(int level,
                   Template body)
Method Detail

process

public void process(RuntimeContext env)
             throws ObjectBoxException
Specified by:
process in interface Template
Overrides:
process in class EvalTemplate
Throws:
ObjectBoxException

log

protected void log(java.lang.String msg)

output

protected void output(ResultDirector dir,
                      Node node)
               throws ObjectBoxException
Throws:
ObjectBoxException