com.qcloud.cos.model.ciModel.xml.CIAuditingXmlFactoryV2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.model.ciModel.xml;
import com.qcloud.cos.internal.cihandler.XStreamXmlResponsesSaxParser;
/**
* 数据万象内容审核xml格式化
*/
public class CIAuditingXmlFactoryV2 extends CIAuditingXmlFactory {
public static byte[] convertToXmlByteArray(Object obj) {
String s = XStreamXmlResponsesSaxParser.toXML(obj);
return s.getBytes();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy