Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 21 22 package nu.xom; 23 24 import java.io.Writer ; 25 26 35 class ISOHebrewWriter extends TextWriter { 36 37 ISOHebrewWriter(Writer out, String encoding) { 38 super(out, encoding); 39 } 40 41 44 boolean needsEscaping(char c) { 45 if (c <= 0xA0) return false; 46 switch (c) { case 0x00A2: return false; case 0x00A3: return false; case 0x00A4: return false; case 0x00A5: return false; case 0x00A6: return false; case 0x00A7: return false; case 0x00A8: return false; case 0x00A9: return false; case 0x00AB: return false; case 0x00AC: return false; case 0x00AD: return false; case 0x00AE: return false; case 0x00AF: return true; case 0x00B0: return false; case 0x00B1: return false; case 0x00B2: return false; case 0x00B3: return false; case 0x00B4: return false; case 0x00B5: return false; case 0x00B6: return false; case 0x00B7: return false; case 0x00B8: return false; case 0x00B9: return false; case 0x00BA: return true; case 0x00BB: return false; case 0x00BC: return false; case 0x00BD: return false; case 0x00BE: return false; } 89 switch (c) { case 0x05D0: return false; case 0x05D1: return false; case 0x05D2: return false; case 0x05D3: return false; case 0x05D4: return false; case 0x05D5: return false; case 0x05D6: return false; case 0x05D7: return false; case 0x05D8: return false; case 0x05D9: return false; case 0x05DA: return false; case 0x05DB: return false; case 0x05DC: return false; case 0x05DD: return false; case 0x05DE: return false; case 0x05DF: return false; case 0x05E0: return false; case 0x05E1: return false; case 0x05E2: return false; case 0x05E3: return false; case 0x05E4: return false; case 0x05E5: return false; case 0x05E6: return false; case 0x05E7: return false; case 0x05E8: return false; case 0x05E9: return false; case 0x05EA: return false; } 118 119 switch (c) { case 0x00D7: return false; case 0x00F7: return false; case 0x2017: return false; } 133 134 return true; 135 136 } 137 138 }
| Popular Tags
|