net.sf.swan.xml.input.event
Class TraceHandler
java.lang.Object
|
+--net.sf.swan.xml.input.event.TraceHandler
- Direct Known Subclasses:
- JTreeTraceHandler
- public class TraceHandler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceHandler
public TraceHandler()
traceEnabled
public static boolean traceEnabled()
getDefaultTraceHandler
public static TraceHandler getDefaultTraceHandler()
setDefaultTraceHandler
public static void setDefaultTraceHandler(TraceHandler newDefault)
startTrace
public void startTrace(DocumentContext context)
endTrace
public void endTrace(DocumentContext context)
startContext
public void startContext(java.lang.Object context)
endContext
public void endContext(java.lang.Object context)
startContextRef
public void startContextRef(java.lang.Object contextRef,
java.lang.Object message)
endContextRef
public void endContextRef(java.lang.Object contextRef,
java.lang.Object message)
trace
public void trace(java.lang.Object subject)
traceClientState
public void traceClientState(EventContext context)
traceProperty
public void traceProperty(EventContext context,
java.lang.Object key,
java.lang.Object value)
traceContextProperty
public void traceContextProperty(EventContext context,
java.lang.Object key,
java.lang.Object value)
startTrace
public void startTrace(ContextEvent event,
java.lang.Object subject)
endTrace
public void endTrace(ContextEvent event,
java.lang.Object subject)
getDocumentIdentifier
protected java.lang.String getDocumentIdentifier(DocumentContext context)
getElementIdentifier
protected java.lang.String getElementIdentifier(ElementContext context)
getContextIdentifier
protected java.lang.String getContextIdentifier(java.lang.Object context)