Class BasicJapaneseCharacterInterpreter
java.lang.Object
nablarch.test.core.util.interpreter.BasicJapaneseCharacterInterpreter
- All Implemented Interfaces:
TestDataInterpreter
日本語文字表現を解釈する基本実装クラス。
${文字種,文字数}という表現を解釈して、文字列に変換する。 例えば、{$全角英字, 10}という表現は10文字の全角英字に変換される。 使用可能な文字種については、
${文字種,文字数}という表現を解釈して、文字列に変換する。 例えば、{$全角英字, 10}という表現は10文字の全角英字に変換される。 使用可能な文字種については、
BasicJapaneseCharacterGeneratorを参照。- Author:
- T.Kawasaki
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterpret(InterpretationContext context) 解釈する。voidsetCharacterGenerator(CharacterGenerator delegate) 委譲先の文字生成クラスを設定する。
-
Constructor Details
-
BasicJapaneseCharacterInterpreter
public BasicJapaneseCharacterInterpreter()
-
-
Method Details
-
interpret
解釈する。- Specified by:
interpretin interfaceTestDataInterpreter- Parameters:
context- 解釈コンテキスト- Returns:
- 解釈された値
-
setCharacterGenerator
委譲先の文字生成クラスを設定する。- Parameters:
delegate- 文字生成クラス
-