Package org.hoteia.qalingo.binding.common.store

Examples of org.hoteia.qalingo.binding.common.store.ObjectFactory


  protected ByteArrayOutputStream buildAsByteArrayOutputStream(Store store) throws JAXBException {

    // StoreValidationEventHandler storeValidationEventHandler = new StoreValidationEventHandler();
    ByteArrayOutputStream xmlOutput = new ByteArrayOutputStream();

    ObjectFactory objFactory = new ObjectFactory();
    XmlStore xmlStore = objFactory.createXmlStore();

    buildStore(store, xmlStore);

    JAXBElement<XmlStore> storeElement = objFactory.createStoreElement(xmlStore);
    marshaller.marshal(storeElement, xmlOutput);

    return xmlOutput;
  }
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.binding.common.store.ObjectFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.