org.apache.tapestry5.internal.services

## Class PrefixCheckStackTraceElementAnalyzer

- java.lang.Object
- - org.apache.tapestry5.internal.services.PrefixCheckStackTraceElementAnalyzer

- All Implemented Interfaces:
    StackTraceElementAnalyzer

      public class PrefixCheckStackTraceElementAnalyzer
      extends Object
      implements StackTraceElementAnalyzer

  Checks to see if a class has a given prefix to its class name.
  Since:
    5.1.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrefixCheckStackTraceElementAnalyzer(String cssClass, String prefix)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### PrefixCheckStackTraceElementAnalyzer

          public PrefixCheckStackTraceElementAnalyzer(String cssClass,
                                                      String prefix)

  - ### 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

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.