Package org.exist.util.serializer

Examples of org.exist.util.serializer.SAXSerializer.reset()


            Sequence seq = Marshaller.demarshall(broker, new StringReader(serialized));
            assertTrue(Type.subTypeOf(seq.getItemType(), Type.NODE));
            NodeValue n = (NodeValue) seq.itemAt(0);

            writer = new StringWriter();
            serializer.reset();
            serializer.setOutput(writer, new Properties());
            n.toSAX(broker, serializer, new Properties());
            System.out.println(writer.toString());
        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.