|
|
|
@ -61,6 +61,7 @@ public class XmlKit {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 从xml中读取数据连接对象 |
|
|
|
|
* |
|
|
|
|
* @param reader xml读取器 |
|
|
|
|
* @return 数据连接对象 |
|
|
|
|
*/ |
|
|
|
@ -79,7 +80,8 @@ public class XmlKit {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
*读出xml参数 |
|
|
|
|
* 读出xml参数 |
|
|
|
|
* |
|
|
|
|
* @param reader xml读出对象 |
|
|
|
|
* @return 返回保存参数数组 |
|
|
|
|
*/ |
|
|
|
@ -87,4 +89,11 @@ public class XmlKit {
|
|
|
|
|
return StableXMLUtils.readParameter(reader); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 读出xml参数 |
|
|
|
|
* @param writer xml读出对象 |
|
|
|
|
*/ |
|
|
|
|
public static void writeParameters(XMLPrintWriter writer, ParameterProvider[] parameter) { |
|
|
|
|
StableXMLUtils.writeParameters(writer,parameter); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|