org.millstone.webadapter
Class Theme.NotRequirement

java.lang.Object
  |
  +--org.millstone.webadapter.Theme.NotRequirement
All Implemented Interfaces:
Theme.Requirement
Enclosing class:
Theme

public class Theme.NotRequirement
extends java.lang.Object
implements Theme.Requirement

Logical NOT requirement. Requirement implementing logical NOT operation. Wraps an another requirement and negates the meaning of it.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Constructor Summary
Theme.NotRequirement(Theme.Requirement requirement)
          Create new NOT requirement based on another requirement.
 
Method Summary
 boolean isMet(WebBrowser terminal)
          Check that this requirement is met by given type of browser.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Theme.NotRequirement

public Theme.NotRequirement(Theme.Requirement requirement)
Create new NOT requirement based on another requirement.

Parameters:
requirement - The requirement to ne negated.
Method Detail

isMet

public boolean isMet(WebBrowser terminal)
Check that this requirement is met by given type of browser.

Specified by:
isMet in interface Theme.Requirement
Parameters:
terminal - type of the web browser.
Returns:
True if terminal is compatible with this rule. False otherwise.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.