Package org.ozoneDB.core.DbRemote

Examples of org.ozoneDB.core.DbRemote.DbXMLForObj



    public Node xmlForObject(OzoneRemote rObj, Document domFactory) throws Exception {

        // creating the chunk is not really needed but should work ;)
        DbXMLForObj command = new DbXMLForObj((OzoneProxy) rObj);
        command.perform(env.transactionManager.currentTA());
        byte[] bytes = (byte[]) command.result;

        SAXChunkConsumer consumer = new SAXChunkConsumer(domFactory, null);
        consumer.processChunk(bytes);
View Full Code Here



    public void xmlForObject(OzoneRemote rObj, ContentHandler ch) throws Exception {

        // creating the chunk is not really needed but should work ;)
        DbXMLForObj command = new DbXMLForObj((OzoneProxy) rObj);
        command.perform(env.transactionManager.currentTA());
        byte[] bytes = (byte[]) command.result;

        SAXChunkConsumer consumer = new SAXChunkConsumer(ch);
        consumer.processChunk(bytes);
    }
View Full Code Here

TOP

Related Classes of org.ozoneDB.core.DbRemote.DbXMLForObj

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.