| 1414 | |
| 1415 | //static protected Map<String, String> parseStyleAttributes(String style) { |
| 1416 | static protected StringDict parseStyleAttributes(String style) { |
| 1417 | //Map<String, String> table = new HashMap<String, String>(); |
| 1418 | StringDict table = new StringDict(); |
| 1419 | // if (style == null) return table; |
| 1420 | if (style != null) { |
| 1421 | String[] pieces = style.split(";"); |
| 1422 | for (int i = 0; i < pieces.length; i++) { |
| 1423 | String[] parts = pieces[i].split(":"); |
| 1424 | //table.put(parts[0], parts[1]); |
| 1425 | table.set(parts[0], parts[1]); |
| 1426 | } |
| 1427 | } |
| 1428 | return table; |
| 1429 | } |
| 1430 | |
| 1431 | |
| 1432 | /** |