|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.dom.LoggingListener
public class 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 | |
---|---|
LoggingListener(Type source,
java.lang.String scope,
java.lang.String logLevel)
Creates a new LoggingListener based on a source type, a scope and a logLevel. |
Method Summary | |
---|---|
void |
apply(Type source,
DOMChangeEvent event,
java.lang.String oldValue)
Adds a logEntry if the passing source is addressing this loggingListener. |
void |
apply(Type source,
java.beans.PropertyChangeEvent event,
java.lang.String oldValue)
|
java.lang.String |
getLogLevel()
Returns the log level. |
java.lang.String |
getLogScope()
Returns the log scope. |
Type |
getSource()
Returns the source of this LoggingListener. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingListener(Type source, java.lang.String scope, java.lang.String logLevel)
source
- of the loggingListenerscope
- maybe source only (XUITypes.UIS_SOURCE_ONLY) or whole subtree (XUITypes.UIS_ALL_DERIVED_LEAFS)logLevel
- any logLevelMethod Detail |
---|
public void apply(Type source, DOMChangeEvent event, java.lang.String oldValue)
source
- of an occured changeoldValue
- forerunner value of the sourcepublic void apply(Type source, java.beans.PropertyChangeEvent event, java.lang.String oldValue)
public Type getSource()
public java.lang.String getLogLevel()
public java.lang.String getLogScope()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |