Class BaseScopedTag

All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable, ScopeSupportIF, ValueAcceptingTagIF, ValueProducingTagIF
Direct Known Subclasses:
AssociatedTag, AssociationsTag, NamesTag, OccurrencesTag, RolesTag, VariantsTag

public abstract class BaseScopedTag extends BaseValueProducingAndAcceptingTag implements ScopeSupportIF
INTERNAL: Abstract Base class for value producing and accepting tags which are taking the context filter into account.
See Also:
  • Field Details

    • useUserContextFilter

      protected boolean useUserContextFilter
  • Constructor Details

    • BaseScopedTag

      public BaseScopedTag()
  • Method Details

    • getScopeDecider

      public Predicate<ScopedIF> getScopeDecider(int scopeType)
      INTERNAL: Get FilterIF object which provides the possibility to decide if one topic map objects belongs to the wanted scope. Default is to use the IntersectionOfContextDecider.
      See Also:
    • getScopeFilter

      public FilterIF<ScopedIF> getScopeFilter(int scopeType)
      INTERNAL: Get FilterIF object which provides the possibility to filter out topic map objects of a collection which have not the wanted scope.
    • setContextFilter

      public void setContextFilter(String contextFilter)
      INTERNAL: sets up if the tag should use the context filter which is implict contained in the user session. Default behaviour is to not use the user context filter. Allowed values are:
      • off
      • user