01: // You can redistribute this software and/or modify it under the terms of
02: // the Infozone Software License version 2 published by the Infozone Group
03: // (http://www.infozone-group.org).
04: //
05: // Copyright (C) @year@ by The Infozone Group. All rights reserved.
06: //
07: // $Id: XUpdateQuery.java,v 1.1 2002/05/10 08:59:12 per_nyfelt Exp $
08:
09: package org.infozone.tools.xml.queries;
10:
11: import java.io.*;
12:
13: import org.w3c.dom.Document;
14: import org.w3c.dom.Node;
15: import org.w3c.dom.traversal.NodeFilter;
16:
17: /**
18: * This class represents a XUpdate query.
19: *
20: * @version $Revision: 1.1 $ $Date: 2002/05/10 08:59:12 $
21: * @author <a href="http://www.softwarebuero.de">SMB</a>
22: * @see XPathProcessor
23: */
24: public interface XUpdateQuery extends Serializable {
25:
26: public void setQString(String qstring) throws Exception;
27:
28: public void setNamespace(Node namespace) throws Exception;
29:
30: public void setNodeFilter(NodeFilter filter) throws Exception;
31:
32: /**
33: * Execute the XUpdate.
34: *
35: * @param rootNode The node from which the query should start or null.
36: */
37: public void execute(Node rootNode) throws Exception;
38:
39: }
|