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.


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.
static java.util.Vector getFingerprintLogActions()
           
 void setLogOnlyMetaData(boolean logOnlyMetaData)
           
 void setLogStructureChanges(boolean logStructureChanges)
           
 
Methods inherited from class com.jaxfront.core.dom.LoggingListener
apply, getLogLevel, getLogPropChanges, getLogScope, getSource, setLogLevel, setLogPropertyChanges, setScope
 
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

getFingerprintLogActions

public static java.util.Vector getFingerprintLogActions()

setLogOnlyMetaData

public void setLogOnlyMetaData(boolean logOnlyMetaData)

setLogStructureChanges

public void setLogStructureChanges(boolean logStructureChanges)