Package com.ibm.icu.impl.number.parse
Class RequireCurrencyValidator
- java.lang.Object
-
- com.ibm.icu.impl.number.parse.ValidationMatcher
-
- com.ibm.icu.impl.number.parse.RequireCurrencyValidator
-
- All Implemented Interfaces:
NumberParseMatcher
public class RequireCurrencyValidator extends ValidationMatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.icu.impl.number.parse.NumberParseMatcher
NumberParseMatcher.Flexible
-
-
Constructor Summary
Constructors Constructor Description RequireCurrencyValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postProcess(ParsedNumber result)
Method called at the end of a parse, after all matchers have failed to consume any more chars.java.lang.String
toString()
-
Methods inherited from class com.ibm.icu.impl.number.parse.ValidationMatcher
match, smokeTest
-
-
-
-
Method Detail
-
postProcess
public void postProcess(ParsedNumber result)
Description copied from interface:NumberParseMatcher
Method called at the end of a parse, after all matchers have failed to consume any more chars. Allows a matcher to make final modifications to the result given the knowledge that no more matches are possible.- Parameters:
result
- The data structure to store results.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-