Android WebView to display vowelized Hebrew letters

During development of e-book reader for books, containing Hebrew letters with nekkudot (special symbols, representing vowels), I met a problem, that Android version lower than 3.0 doesn’t support correct display of Hebrew text with vowels.

I found the following solution for this issue. AnkiDroid help forum.
I modified the attached java class

To use this class in your code, do the following:

Useful link:
Mapping table for Hebrew letters and symbols

Update:
reworked pattern.