01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.vfny.geoserver.util;
06:
07: import java.io.IOException;
08: import java.io.Writer;
09:
10: /**
11: * @deprecated use {@link org.geoserver.ows.util.ResponseUtils}.
12: *
13: */
14: public final class ResponseUtils {
15: /**
16: * @deprecated moved to {@link org.geoserver.ows.util.ResponseUtils#encodeXML(String)}.
17: */
18: public static String encodeXML(String inData) {
19: return org.geoserver.ows.util.ResponseUtils.encodeXML(inData);
20: }
21:
22: /**
23: * @deprecated moved to {@link org.geoserver.ows.util.ResponseUtils#writeEscapedString(Writer, String)}
24: */
25: public static void writeEscapedString(Writer writer, String string)
26: throws IOException {
27: org.geoserver.ows.util.ResponseUtils.writeEscapedString(writer,
28: string);
29: }
30: }
|