/* ==================================================================
* Created [2009-4-27 下午11:32:55] by Jon.King
* ==================================================================
* TSS
* ==================================================================
* mailTo:jinpujun@hotmail.com
* Copyright (c) Jon.King, 2009-2012
* ==================================================================
*/
package com.jinhe.tss.core.web.dispaly;
/**
* <p> IDataEncoder.java </p>
*
* 各类数据组装接口,组装成符合要求的格式。
*/
public interface IDataEncoder {
public static final String DEFAULT_ENCODING = "UTF-8";
/**
* 将数据信息转换成XML格式
* @return
*/
public String toXml();
/**
* 打印输出数据
* @param out
*/
public void print(XmlPrintWriter out);
}