Class RegexpStackTraceElementAnalyzer
java.lang.Object
org.apache.tapestry5.internal.services.RegexpStackTraceElementAnalyzer
- All Implemented Interfaces:
StackTraceElementAnalyzer
Uses a regular expression to identify which CSS class to apply to a frame. The frame's
toString()
is used. Uses
Matcher.find()
to search for a subsequence of the frame's description.- Since:
- 5.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclassForFrame
(StackTraceElement frame) Returns the CSS class appropriate to the frame.
-
Constructor Details
-
RegexpStackTraceElementAnalyzer
-
-
Method Details
-
classForFrame
Description copied from interface:StackTraceElementAnalyzer
Returns the CSS class appropriate to the frame.- Specified by:
classForFrame
in interfaceStackTraceElementAnalyzer
- Parameters:
frame
- stack trace element to be analyzed- Returns:
- the CSS class name, or null
-