org.apache.tapestry5.internal.services
Class ApplicationStackTraceElementAnalyzer

java.lang.Object
  extended by org.apache.tapestry5.internal.services.ApplicationStackTraceElementAnalyzer
All Implemented Interfaces:
StackTraceElementAnalyzer

public class ApplicationStackTraceElementAnalyzer
extends Object
implements StackTraceElementAnalyzer

Identifies frames for application classes.

Since:
5.1.0.0

Constructor Summary
ApplicationStackTraceElementAnalyzer(String appPackage)
           
 
Method Summary
 String classForFrame(StackTraceElement frame)
          Returns the CSS class appropriate to the frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationStackTraceElementAnalyzer

public ApplicationStackTraceElementAnalyzer(@Symbol(value="tapestry.app-package")
                                            String appPackage)
Method Detail

classForFrame

public String classForFrame(StackTraceElement frame)
Description copied from interface: StackTraceElementAnalyzer
Returns the CSS class appropriate to the frame.

Specified by:
classForFrame in interface StackTraceElementAnalyzer
Parameters:
frame - stack trace element to be analyzed
Returns:
the CSS class name, or null


Copyright © 2003-2012 The Apache Software Foundation.