| java.lang.Object net.sf.saxon.trace.TraceEventMulticaster
TraceEventMulticaster | public class TraceEventMulticaster implements TraceListener(Code) | | A class which implements efficient and thread-safe multi-cast event
dispatching for the TraceListener evants.
Grabbed from java.awt.AWTEventMulticaster
|
TraceEventMulticaster | protected TraceEventMulticaster(EventListener a, EventListener b)(Code) | | Creates an event multicaster instance which chains listener-a
with listener-b.
Parameters: a - listener-a Parameters: b - listener-b |
add | public static TraceListener add(TraceListener a, TraceListener b)(Code) | | Adds trace-listener-a with trace-listener-b and
returns the resulting multicast listener.
Parameters: a - trace-listener-a Parameters: b - trace-listener-b |
addInternal | protected static EventListener addInternal(EventListener a, EventListener b)(Code) | | Returns the resulting multicast listener from adding listener-a
and listener-b together.
If listener-a is null, it returns listener-b;
If listener-b is null, it returns listener-a
If neither are null, then it creates and returns
a new EventMulticaster instance which chains a with b.
Parameters: a - event listener-a Parameters: b - event listener-b |
close | public void close()(Code) | | Called at end
|
endCurrentItem | public void endCurrentItem(Item item)(Code) | | Called when an item ceases to be the current item
|
leave | public void leave(InstructionInfo element)(Code) | | Called after an element of the stylesheet got processed
|
open | public void open()(Code) | | Called at start
|
remove | protected EventListener remove(EventListener oldl)(Code) | | Removes a listener from this multicaster and returns the
resulting multicast listener.
Parameters: oldl - the listener to be removed |
remove | public static TraceListener remove(TraceListener l, TraceListener oldl)(Code) | | Removes the old trace-listener from trace-listener-l and
returns the resulting multicast listener.
Parameters: l - trace-listener-l Parameters: oldl - the trace-listener being removed |
removeInternal | protected static EventListener removeInternal(EventListener l, EventListener oldl)(Code) | | Returns the resulting multicast listener after removing the
old listener from listener-l.
If listener-l equals the old listener OR listener-l is null,
returns null.
Else if listener-l is an instance of SaxonEventMulticaster,
then it removes the old listener from it.
Else, returns listener l.
Parameters: l - the listener being removed from Parameters: oldl - the listener being removed |
startCurrentItem | public void startCurrentItem(Item item)(Code) | | Called when an item becomes current
|
|
|