com.vgrs.xcode.idna.contextualrule
Class KatakanaMiddleDotRule

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

public class KatakanaMiddleDotRule
extends AbstractAllCodePointsEvaluated

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
KatakanaMiddleDotRule()
          Constructor specifies that this rule can only execute if the Katakana Middle Dot code point is present in the given set of code points.
 
Method Summary
 void executeRule(int aCodePointIndex, int[] aCodePoints)
          If the Katakana Middle Dot code point is present, then at least one code point must belong to one of {Hiragana, Katakana, or Han} script.
 
Methods inherited from class com.vgrs.xcode.idna.contextualrule.AbstractAllCodePointsEvaluated
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

KatakanaMiddleDotRule

public KatakanaMiddleDotRule()
Constructor specifies that this rule can only execute if the Katakana Middle Dot code point is present in the given set of code points.

Method Detail

executeRule

public void executeRule(int aCodePointIndex,
                        int[] aCodePoints)
                 throws XcodeException
If the Katakana Middle Dot code point is present, then at least one code point must belong to one of {Hiragana, Katakana, or Han} script.

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