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