|
|||||||||
| 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. |
boolean |
getLogPropChanges()
|
java.lang.String |
getLogScope()
Returns the log scope. |
Type |
getSource()
Returns the source of this LoggingListener. |
void |
setLogLevel(java.lang.String logLevel)
|
void |
setLogPropertyChanges(boolean doLog)
|
void |
setScope(java.lang.String scope)
|
| 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 logLevel| Method Detail |
|---|
public void apply(Type source,
DOMChangeEvent event,
java.lang.String oldValue)
source - of an occured changeoldValue - forerunner value of the source
public void apply(Type source,
java.beans.PropertyChangeEvent event,
java.lang.String oldValue)
public java.lang.String getLogLevel()
public boolean getLogPropChanges()
public java.lang.String getLogScope()
public Type getSource()
public void setLogLevel(java.lang.String logLevel)
public void setLogPropertyChanges(boolean doLog)
public void setScope(java.lang.String scope)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||