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:
IfTag
-
-
Constructor Summary
Constructors Constructor Description DefaultIfDecider()
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ok(NavigatorPageIF contextTag, Object obj)
INTERNAL: if implemented criteria are matched: deliver true, otherwise false.
-
-
-
Constructor Detail
-
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 Detail
-
ok
public boolean ok(NavigatorPageIF contextTag, Object obj)
Description copied from interface:NavigatorDeciderIF
INTERNAL: if implemented criteria are matched: deliver true, otherwise false.- Specified by:
ok
in interfaceNavigatorDeciderIF
-
-