| 1 9 package org.ozoneDB.xml.util; 10 11 import java.io.IOException ; 12 13 import org.w3c.dom.Node ; 14 import org.w3c.dom.NodeList ; 15 import org.w3c.dom.Document ; 16 17 import org.xml.sax.SAXException ; 18 19 import org.ozoneDB.OzoneRemote; 20 21 import org.infozone.tools.xml.queries.XObject; 22 23 24 32 public interface XMLContainerHelper extends OzoneRemote { 33 34 public void setDocument( Document _pdoc ); 35 36 public Document getDocument(); 37 38 public void clearDocument(); 39 40 public SAXChunkConsumer beginInputSequence( Node _pnode ) throws Exception ; 41 42 public SAXChunkConsumer putChunk( byte[] _chunkData, SAXChunkConsumer consumer ) throws SAXException , IOException ; 43 44 public void endInputSequence() throws Exception ; 45 46 48 public SAXChunkProducer beginOutputSequence( NodeList _pnodes, int _depth ) throws Exception ; 49 50 public SAXChunkProducer createNextChunk( SAXChunkProducer producer ) throws SAXException ; 51 52 public void endOutputSequence() throws Exception ; 53 54 public XObject executeXPath( OzoneXPathQuery _query ) throws Exception ; 55 56 public void executeXUpdate( OzoneXUpdateQuery _query ) throws Exception ; 57 58 public String xpathForNode( Node _pnode ); 59 60 } 61 | Popular Tags |