com.vgrs.xcode.idna.contextualrule
Class HebrewPunctuationGershayimRule

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.HebrewPunctuationGershayimRule
All Implemented Interfaces:
ContextualRule

public class HebrewPunctuationGershayimRule
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
HebrewPunctuationGershayimRule()
          Constructor specifies that this rule can only execute if the Hebrew punctuation Gershayim 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 Gershayim 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

HebrewPunctuationGershayimRule

public HebrewPunctuationGershayimRule()
Constructor specifies that this rule can only execute if the Hebrew punctuation Gershayim 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 Gershayim 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