KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > xml > util > XMLContainerHelper


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: XMLContainerHelper.java,v 1.1 2003/11/22 19:29:51 per_nyfelt Exp $
8

9 package org.ozoneDB.xml.util;
10
11 import java.io.IOException JavaDoc;
12
13 import org.w3c.dom.Node JavaDoc;
14 import org.w3c.dom.NodeList JavaDoc;
15 import org.w3c.dom.Document JavaDoc;
16
17 import org.xml.sax.SAXException JavaDoc;
18
19 import org.ozoneDB.OzoneRemote;
20
21 import org.infozone.tools.xml.queries.XObject;
22
23
24 /**
25  * The remote interface of the {@link XMLContainerHelperImpl}.
26  *
27  *
28  * @version $Revision: 1.1 $ $Date: 2003/11/22 19:29:51 $
29  * @author <a HREF="http://www.softwarebuero.de">SMB</a>
30  * @see XMLContainerHelperImpl
31  */

32 public interface XMLContainerHelper extends OzoneRemote {
33     
34     public void setDocument( Document JavaDoc _pdoc ); /* update */
35     
36     public Document JavaDoc getDocument();
37
38     public void clearDocument(); /* update */
39
40     public SAXChunkConsumer beginInputSequence( Node JavaDoc _pnode ) throws Exception JavaDoc;
41     
42     public SAXChunkConsumer putChunk( byte[] _chunkData, SAXChunkConsumer consumer ) throws SAXException JavaDoc, IOException JavaDoc;
43     
44     public void endInputSequence() throws Exception JavaDoc;
45     
46 /* public SAXChunkProducer beginOutputSequence( Node _pnode, int _depth ) throws Exception;
47 */

48     public SAXChunkProducer beginOutputSequence( NodeList JavaDoc _pnodes, int _depth ) throws Exception JavaDoc;
49     
50     public SAXChunkProducer createNextChunk( SAXChunkProducer producer ) throws SAXException JavaDoc;
51     
52     public void endOutputSequence() throws Exception JavaDoc;
53     
54     public XObject executeXPath( OzoneXPathQuery _query ) throws Exception JavaDoc;
55
56     public void executeXUpdate( OzoneXUpdateQuery _query ) throws Exception JavaDoc;
57     
58     public String JavaDoc xpathForNode( Node JavaDoc _pnode );
59
60 }
61
Popular Tags