add no-arg default constructor for xmlbeans

This commit is contained in:
jinyu
2015-06-04 17:45:35 +08:00
parent dce67fcc80
commit daafd450a0
34 changed files with 153 additions and 61 deletions
@@ -247,6 +247,7 @@ public final class XmlStream {
try {
JAXBContext jaxbContext = JAXBContext.newInstance(clazz);
marshaller = jaxbContext.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_ENCODING, Consts.UTF_8.name());
messageMarshaller.put(clazz, marshaller);
} catch (JAXBException e) {
throw new IllegalArgumentException(e);