/[schmitzm]/trunk/src/skrueger/jsf/GM4JSFUtil.java
ViewVC logotype

Annotation of /trunk/src/skrueger/jsf/GM4JSFUtil.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 811 - (hide annotations)
Tue Apr 20 15:38:14 2010 UTC (14 years, 10 months ago) by alfonx
File MIME type: text/plain
File size: 478 byte(s)
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     }

Properties

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