|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.trace.TraceManager
public class TraceManager
This class manages a collection of TraceListener
, and acts as an
interface for the tracing functionality in Joost.
Field Summary | |
---|---|
private Vector |
traceListeners
Collection of registered listeners (must be synchronized). |
Constructor Summary | |
---|---|
TraceManager()
Default constructor for the tracemanager. |
Method Summary | |
---|---|
void |
addTraceListener(TraceListener newTraceListener)
Add a tracelistener (debugging and profiling). |
void |
fireEndResultCDATA()
Indicates the end CDATA event of the result document. |
void |
fireEndResultDocument()
Indicates the end of the result document. |
void |
fireEndResultElement(SAXEvent saxevent)
Indicates the start of an element of the result document. |
void |
fireEndSourceDocument()
Fire at the end of processing (close). |
void |
fireEndSourceElement(SAXEvent saxevent)
Fire after a node of the source tree got processed. |
void |
fireEnterInstructionNode(AbstractInstruction inst,
SAXEvent event)
Fire when an element of the stylesheet gets processed. |
void |
fireLeaveInstructionNode(AbstractInstruction inst,
SAXEvent event)
Fire after an element of the stylesheet got processed. |
void |
fireResultComment(SAXEvent saxevent)
Indicates the comment event of the result document. |
void |
fireResultPI(SAXEvent saxevent)
Indicates the PI event of the result document. |
void |
fireResultText(SAXEvent saxevent)
Indicates the text event of the result document. |
void |
fireSourceComment(SAXEvent saxevent)
Called when a comment event of the source was received. |
void |
fireSourceMapping(SAXEvent saxevent)
Called when a namespace mapping event of the source was received. |
void |
fireSourcePI(SAXEvent saxevent)
Fire when a PI-Event of the source was received. |
void |
fireSourceText(SAXEvent saxevent)
Fire when a text event of the source was received. |
void |
fireStartResultCDATA()
Indicates the start CDATA event of the result document. |
void |
fireStartResultDocument()
Indicates the begin of the result document. |
void |
fireStartResultElement(SAXEvent saxevent)
Indicates the start of an element of the result document. |
void |
fireStartSourceDocument()
Fire a start processing event (open). |
void |
fireStartSourceElement(SAXEvent saxevent)
Fire if a startelement event of the source gets processed. |
boolean |
hasTraceListeners()
Check if tracelisteners are available. |
void |
removeTraceListener(TraceListener oldTraceListener)
Remove a tracelistener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Vector traceListeners
Constructor Detail |
---|
public TraceManager()
Method Detail |
---|
public boolean hasTraceListeners()
public void addTraceListener(TraceListener newTraceListener)
newTraceListener
- A tracelistener to be added.public void removeTraceListener(TraceListener oldTraceListener)
oldTraceListener
- A tracelistener to be removed.public void fireStartSourceDocument()
public void fireEndSourceDocument()
public void fireStartSourceElement(SAXEvent saxevent)
public void fireEndSourceElement(SAXEvent saxevent)
public void fireSourceText(SAXEvent saxevent)
public void fireSourcePI(SAXEvent saxevent)
public void fireSourceMapping(SAXEvent saxevent)
public void fireSourceComment(SAXEvent saxevent)
public void fireEnterInstructionNode(AbstractInstruction inst, SAXEvent event)
public void fireLeaveInstructionNode(AbstractInstruction inst, SAXEvent event)
public void fireStartResultDocument()
public void fireEndResultDocument()
public void fireStartResultElement(SAXEvent saxevent)
public void fireEndResultElement(SAXEvent saxevent)
public void fireResultText(SAXEvent saxevent)
public void fireResultPI(SAXEvent saxevent)
public void fireResultComment(SAXEvent saxevent)
public void fireStartResultCDATA()
public void fireEndResultCDATA()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |