BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xalan.trace
Interface TraceListener

All Known Implementing Classes:
PrintTraceListener

public interface TraceListener
extends java.util.EventListener

Interface the XSL processor calls when it matches a source node, selects a set of source nodes, or generates a result node. If you want an object instance to be called when a trace event occurs, use the TransformerImpl setTraceListener method.

This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.

See Also:
TracerEvent, TraceManager.addTraceListener(weblogic.apache.xalan.trace.TraceListener)

Method Summary
 void generated(GenerateEvent ev)
          Method that is called just after the formatter listener is called.
 void selected(SelectionEvent ev)
          Method that is called just after the formatter listener is called.
 void trace(TracerEvent ev)
          Method that is called when a trace event occurs.
 

Method Detail

trace

public void trace(TracerEvent ev)
Method that is called when a trace event occurs. The method is blocking. It must return before processing continues.

Parameters:
ev - the trace event.

selected

public void selected(SelectionEvent ev)
              throws javax.xml.transform.TransformerException
Method that is called just after the formatter listener is called.

Parameters:
ev - the generate event.
Throws:
javax.xml.transform.TransformerException -  

generated

public void generated(GenerateEvent ev)
Method that is called just after the formatter listener is called.

Parameters:
ev - the generate event.

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.