Parent Directory
|
Revision Log
Neue Methode mit Hilfsmehtode für GoogleMaps4JSF (wird bei immodb verwendet)
1 | alfonx | 811 | package skrueger.jsf; |
2 | |||
3 | /** | ||
4 | * Eine Klasse mit Hilfsroutinen für GoogleMaps4JSF | ||
5 | * | ||
6 | * @author stefan | ||
7 | * | ||
8 | */ | ||
9 | public class GM4JSFUtil { | ||
10 | |||
11 | /** | ||
12 | * Innerhalb eines HTMLInformationWindow darf nur beschänktes HTML benutzt | ||
13 | * werden. Diese Funktion führt nötige Filter aus. | ||
14 | * | ||
15 | * @param toFilter | ||
16 | * @return | ||
17 | */ | ||
18 | public static String filterHTML(String string) { | ||
19 | string = string.replaceAll("\"", """); | ||
20 | string = string.replaceAll("'", """); | ||
21 | return string; | ||
22 | } | ||
23 | } |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id URL |
svn:mime-type | text/plain |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |