1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.nxqd.xmldb;
17
18 import java.io.File;
19 import java.io.StringReader;
20 import java.util.Iterator;
21 import java.util.List;
22 import java.util.logging.Level;
23 import java.util.logging.Logger;
24
25 import javax.xml.transform.TransformerException;
26 import javax.xml.transform.sax.SAXSource;
27 import javax.xml.transform.stream.StreamSource;
28
29 import org.xml.sax.InputSource;
30 import org.xmldb.api.base.Collection;
31 import org.xmldb.api.base.ErrorCodes;
32 import org.xmldb.api.base.Resource;
33 import org.xmldb.api.base.ResourceSet;
34 import org.xmldb.api.base.XMLDBException;
35 import org.xmldb.api.modules.XUpdateQueryService;
36 import org.xmldb.api.reference.ResourceSetImpl;
37 import org.xmldb.api.reference.modules.XMLResourceImpl;
38
39 /**
40 * The class <code>NxqdXUpdateQueryService</code> is an implemenation of
41 * <code>org.xmldb.api.modules.XUpdateQueryService</code>.
42 *
43 * @see org.xmldb.api.modules.XUpdateQueryService
44 *
45 * @author <a href="mailto:webhiker@sourceforge.net">webhiker</a>
46 * @version 1.0
47 */
48 public class NxqdXUpdateQueryService extends NxqdService implements XUpdateQueryService {
49 private static Logger logger = Logger.getLogger(NxqdXUpdateQueryService.class.getName());
50
51 /**
52 *
53 */
54 public NxqdXUpdateQueryService() {
55 super(NxqdXUpdateQueryService.class.getName(),"1.0");
56 }
57
58 /**
59 * @see org.xmldb.api.modules.XUpdateQueryService#update(java.lang.String)
60 */
61 public long update(java.lang.String commands) throws XMLDBException {
62
63 throw new XMLDBException(ErrorCodes.VENDOR_ERROR,
64 "Not yet supported");
65 }
66
67 /**
68 * @see org.xmldb.api.modules.XUpdateQueryService#update(java.lang.String)
69 */
70 public long updateResource(java.lang.String id, java.lang.String commands) throws XMLDBException {
71
72 throw new XMLDBException(ErrorCodes.VENDOR_ERROR,
73 "Not yet supported");
74 }
75
76 }