Class DefaultIfDecider

java.lang.Object
net.ontopia.topicmaps.nav2.impl.basic.DefaultIfDecider
All Implemented Interfaces:
NavigatorDeciderIF

public class DefaultIfDecider extends Object implements NavigatorDeciderIF
INTERNAL: class which implements interface NavigatorDeciderIF. Execute some rudimentary testing against Collection:
  • collection is non-empty? (default)
  • collection equals other collection specified by variable name (equals)
  • collection has less-than number of entries?
  • collection has greater-than number of entries?
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    INTERNAL: empty constructor which set all comparision values to their default state, it is then only checked if collection is non-empty.
    DefaultIfDecider(String equalsVariableName, int equalsSize, int lessThan, int greaterThan)
    INTERNAL: Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    ok(NavigatorPageIF contextTag, Object obj)
    INTERNAL: if implemented criteria are matched: deliver true, otherwise false.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultIfDecider

      public DefaultIfDecider()
      INTERNAL: empty constructor which set all comparision values to their default state, it is then only checked if collection is non-empty.
    • DefaultIfDecider

      public DefaultIfDecider(String equalsVariableName, int equalsSize, int lessThan, int greaterThan)
      INTERNAL: Default constructor.
  • Method Details