01: /* XmlDevice.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Thu Aug 23 18:38:54 2007, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zml.device;
20:
21: import org.zkoss.zk.device.GenericDevice;
22:
23: /**
24: * Represents the XML output.
25: *
26: * @author tomyeh
27: */
28: public class XmlDevice extends GenericDevice {
29: //Device//
30: public String getContentType() {
31: return "text/xml;charset=UTF-8";
32: }
33: }
|