net.ontopia.topicmaps.nav2.impl.basic
Class DefaultIfDecider

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

public class DefaultIfDecider
extends java.lang.Object
implements NavigatorDeciderIF

INTERNAL: class which implements interface NavigatorDeciderIF. Execute some rudimentary testing against Collection:

See Also:
IfTag

Constructor Summary
DefaultIfDecider()
          INTERNAL: empty constructor which set all comparision values to their default state, it is then only checked if collection is non-empty.
DefaultIfDecider(java.lang.String equalsVariableName, int equalsSize, int lessThan, int greaterThan)
          INTERNAL: Default constructor.
 
Method Summary
 boolean ok(NavigatorPageIF contextTag, java.lang.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 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(java.lang.String equalsVariableName,
                        int equalsSize,
                        int lessThan,
                        int greaterThan)
INTERNAL: Default constructor.

Method Detail

ok

public boolean ok(NavigatorPageIF contextTag,
                  java.lang.Object obj)
Description copied from interface: NavigatorDeciderIF
INTERNAL: if implemented criteria are matched: deliver true, otherwise false.

Specified by:
ok in interface NavigatorDeciderIF


Copyright © 2000-2012 Ontopia.