com.jaxfront.core.dom
Class HistoryLoggingListener

java.lang.Object
  extended by com.jaxfront.core.dom.LoggingListener
      extended by com.jaxfront.core.dom.HistoryLoggingListener

public class HistoryLoggingListener
extends LoggingListener

Defines a listener for logging changes occured in the target DOM. Every listener defines the source, the scope and the logLevel. The scope of a logListener maybe just its source or the whole subtree of this source.

Version:
1.60

Constructor Summary
HistoryLoggingListener(Document dom, java.lang.String scope, java.lang.String logLevel, java.util.Vector fingerPrintActions)
           
 
Method Summary
 void apply(Type source, DOMChangeEvent event, java.lang.String oldValue)
          Adds a logEntry if the passing source is addressing this loggingListener.
 
Methods inherited from class com.jaxfront.core.dom.LoggingListener
apply, getLogLevel, getLogScope, getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryLoggingListener

public HistoryLoggingListener(Document dom,
                              java.lang.String scope,
                              java.lang.String logLevel,
                              java.util.Vector fingerPrintActions)
Method Detail

apply

public void apply(Type source,
                  DOMChangeEvent event,
                  java.lang.String oldValue)
Description copied from class: LoggingListener
Adds a logEntry if the passing source is addressing this loggingListener.

Overrides:
apply in class LoggingListener
Parameters:
source - of an occured change
oldValue - forerunner value of the source