com.vgrs.xcode.idna.contextualrule
Class AbstractAllCodePointsNotEvaluated

java.lang.Object
  extended by com.vgrs.xcode.idna.contextualrule.AbstractContextualRule
      extended by com.vgrs.xcode.idna.contextualrule.AbstractAllCodePointsNotEvaluated
All Implemented Interfaces:
ContextualRule
Direct Known Subclasses:
AbstractJoinerCodePointRule, GreekLowerNumeralSignRule, HebrewPunctuationGereshRule, HebrewPunctuationGershayimRule, MiddleDotRule

public abstract class AbstractAllCodePointsNotEvaluated
extends AbstractContextualRule

Abstract class to indicate that all code points have been evaluated. Most contextual rules apply to only specific code points. There are some rules which evaluate all the code points. This class identifies rules which iterate and process all the code points when a specific contextual code point is found in the input. This will prevent the rule from being executed multiple times as the ContextualRulesRegistry.runContextualRules method iterates over all the code points in the input.

Version:
1.0 Aug 4, 2010
Author:
nchigurupati

Field Summary
 
Fields inherited from interface com.vgrs.xcode.idna.contextualrule.ContextualRule
ALL_CODE_POINTS_EVALUATED_FALSE, ALL_CODE_POINTS_EVALUATED_TRUE
 
Constructor Summary
AbstractAllCodePointsNotEvaluated()
           
 
Method Summary
 boolean allCodePointsEvaluated()
          By default this method return false.
 
Methods inherited from class com.vgrs.xcode.idna.contextualrule.AbstractContextualRule
getCodePointToWhichRuleApplies, getRuleName, ruleAppliesToCodepoint, setCodePointToWhichRuleApplies, setRuleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vgrs.xcode.idna.contextualrule.ContextualRule
executeRule
 

Constructor Detail

AbstractAllCodePointsNotEvaluated

public AbstractAllCodePointsNotEvaluated()
Method Detail

allCodePointsEvaluated

public boolean allCodePointsEvaluated()
By default this method return false.

Returns:
a boolean indicating if all code points have been evaluated. If all code points have been evaluated, this rule will not be executed again.


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved