org.apache.struts2.json

## Interface JSONUtil.ClassVisitor

- Enclosing class:
    JSONUtil

      public static interface JSONUtil.ClassVisitor

  Realizes the visit(Class) method called by vistInterfaces for all encountered classes/interfaces

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `visit(Class aClass)` Called when a new interface/class is encountered

- - ### Method Detail

    - #### visit

          boolean visit(Class aClass)

      Called when a new interface/class is encountered
      Parameters:
        `aClass` - the encountered class/interface
      Returns:
        true if the recursion should continue, false to stop recursion immediately

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.