|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xalan.trace.TraceManager
This class manages trace listeners, and acts as an interface for the tracing functionality in Xalan.
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.
Constructor Summary | |
TraceManager(TransformerImpl transformer)
Constructor for the trace manager. |
Method Summary | |
void |
addTraceListener(TraceListener tl)
Add a trace listener for the purposes of debugging and diagnosis. |
void |
fireGenerateEvent(GenerateEvent te)
Fire a generate event. |
void |
fireSelectedEndEvent(EndSelectionEvent se)
Fire a selection event. |
void |
fireSelectedEndEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
fireSelectedEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
fireSelectedEvent(SelectionEvent se)
Fire a selection event. |
void |
fireTraceEvent(ElemTemplateElement styleNode)
Fire a trace event. |
void |
fireTraceEvent(TracerEvent te)
Fire a trace event. |
boolean |
hasTraceListeners()
Tell if trace listeners are present. |
void |
removeTraceListener(TraceListener tl)
Remove a trace listener. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TraceManager(TransformerImpl transformer)
transformer
- a non-null instance of a transformerMethod Detail |
public void addTraceListener(TraceListener tl) throws java.util.TooManyListenersException
tl
- Trace listener to be added.public void removeTraceListener(TraceListener tl)
tl
- Trace listener to be removed.public void fireGenerateEvent(GenerateEvent te)
te
- Generate Event to firepublic boolean hasTraceListeners()
public void fireTraceEvent(ElemTemplateElement styleNode)
sourceNode
- Current source nodemode
- Template modestyleNode
- Stylesheet template nodepublic void fireTraceEvent(TracerEvent te)
te
- Trace event to firepublic void fireSelectedEvent(int sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection) throws javax.xml.transform.TransformerException
sourceNode
- Current source nodestyleNode
- node in the style tree reference for the event.attributeName
- The attribute name from which the selection is made.xpath
- The XPath that executed the selection.selection
- The result of the selection.public void fireSelectedEndEvent(int sourceNode, ElemTemplateElement styleNode, java.lang.String attributeName, XPath xpath, XObject selection) throws javax.xml.transform.TransformerException
sourceNode
- Current source nodestyleNode
- node in the style tree reference for the event.attributeName
- The attribute name from which the selection is made.xpath
- The XPath that executed the selection.selection
- The result of the selection.public void fireSelectedEndEvent(EndSelectionEvent se) throws javax.xml.transform.TransformerException
se
- Selection event to firepublic void fireSelectedEvent(SelectionEvent se) throws javax.xml.transform.TransformerException
se
- Selection event to fire
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |