anyof
User-Agent
contains
nokia
User-Agent
contains
blackberry
skin
xhtml
Field Summary |
static java.lang.String |
IF
Constant for "if" type of rule. |
static java.lang.String |
IF_ALLOF
Constants for "if all off" type of rule |
static java.lang.String |
IF_ANYOF
Constants for "if any off" type of rule |
Constructor Summary |
Rule(java.lang.String type,
java.util.Vector expressions,
java.util.Vector results)
Default constructor. |
Method Summary |
java.util.Vector |
getExpressions()
Get the expressions for the rule. |
java.util.Vector |
getResults()
Get the results for the rule. |
java.lang.String |
getType()
Get the type of the rule. |
java.lang.String |
toDebugString()
This method convert the information into string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IF
public static final java.lang.String IF
- Constant for "if" type of rule.
- See Also:
- Constant Field Values
IF_ANYOF
public static final java.lang.String IF_ANYOF
- Constants for "if any off" type of rule
- See Also:
- Constant Field Values
IF_ALLOF
public static final java.lang.String IF_ALLOF
- Constants for "if all off" type of rule
- See Also:
- Constant Field Values
Rule
public Rule(java.lang.String type,
java.util.Vector expressions,
java.util.Vector results)
- Default constructor.
- Parameters:
type
- Indicates the type of rule.expressions
- A vector of @see Expression objects to be checked for the rule.results
- A vector of @see Result objects to be used for a matched rule.
getType
public java.lang.String getType()
- Get the type of the rule.
The type is encapsulated in following constants:
- Rule.IF
- Rule.IF_ANYOF
- Rule.IF_ALLOF
- Returns:
- The rule type.
getExpressions
public java.util.Vector getExpressions()
- Get the expressions for the rule.
- Returns:
- A Vector of @see Expression objects.
getResults
public java.util.Vector getResults()
- Get the results for the rule.
- Returns:
- A Vector of @see Result objects.
toDebugString
public java.lang.String toDebugString()
- This method convert the information into string.
The format of the result string is "type:[expressions]:[results]".
These JavaDoc pages are generated for release/nim_2_5-2.5.44 Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.