Class SuperclassesTag

All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable, ValueAcceptingTagIF, ValueProducingTagIF

public class SuperclassesTag extends BaseValueProducingAndAcceptingTag
INTERNAL: Value Producing Tag for finding all the superclasses of the topics in a collection.
See Also:
  • Constructor Details

    • SuperclassesTag

      public SuperclassesTag()
  • Method Details

    • process

      public Collection process(Collection topics) throws jakarta.servlet.jsp.JspTagException
      Description copied from interface: ValueProducingTagIF
      INTERNAL: Process the input collection and return the output collection. This collection will afterwards typically be passed up to the parent tag, which should be a value-accepting tag.
      Throws:
      jakarta.servlet.jsp.JspTagException
      See Also:
    • setLevel

      public void setLevel(String levelString)
      Set maximum number of levels to traverse upwards.
      Parameters:
      levelString - try to convert to valid integer, otherwise fallback to default value (null).