com.vgrs.xcode.idna.contextualrule
Class HebrewPunctuationGereshRule

java.lang.Object
  extended by com.vgrs.xcode.idna.contextualrule.AbstractContextualRule
      extended by com.vgrs.xcode.idna.contextualrule.AbstractAllCodePointsNotEvaluated
          extended by com.vgrs.xcode.idna.contextualrule.HebrewPunctuationGereshRule
All Implemented Interfaces:
ContextualRule

public class HebrewPunctuationGereshRule
extends AbstractAllCodePointsNotEvaluated

Version:
1.0 May 5, 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
HebrewPunctuationGereshRule()
          Constructor specifies that this rule can only execute if the Hebrew punctuation Geresh code point is present in the given set of code points.
 
Method Summary
 void executeRule(int aCodePointIndex, int[] aCodePoints)
          Checks if the script before the Hebrew punctuation Geresh code point is Hebrew.
 
Methods inherited from class com.vgrs.xcode.idna.contextualrule.AbstractAllCodePointsNotEvaluated
allCodePointsEvaluated
 
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
 

Constructor Detail

HebrewPunctuationGereshRule

public HebrewPunctuationGereshRule()
Constructor specifies that this rule can only execute if the Hebrew punctuation Geresh code point is present in the given set of code points.

Method Detail

executeRule

public void executeRule(int aCodePointIndex,
                        int[] aCodePoints)
                 throws XcodeException
Checks if the script before the Hebrew punctuation Geresh code point is Hebrew.

Parameters:
aCodePointIndex - the index of the code point that satisfied the condition of this rule
aCodePoints - the code points to be evaluated.
Throws:
XcodeException


Copyright © 2000-2010 VeriSign Inc. All Rights Reserved