org.apache.xindice.core.xupdate
Class XUpdateImpl
java.lang.Object
|
+--org.xmldb.xupdate.lexus.XUpdateQueryImpl
|
+--org.apache.xindice.core.xupdate.XUpdateImpl
- All Implemented Interfaces:
- Serializable, org.xmldb.common.xml.queries.XUpdateQuery
- public class XUpdateImpl
- extends org.xmldb.xupdate.lexus.XUpdateQueryImpl
Provides Collection and document based XUpdate capabilities.
For more detail about XUpdate look at the
XUpdate Working Draft.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
- See Also:
- Serialized Form
Fields inherited from class org.xmldb.xupdate.lexus.XUpdateQueryImpl |
commandConstants, namespace, NAMESPACE_URI, namespaces, query |
Methods inherited from class org.xmldb.xupdate.lexus.XUpdateQueryImpl |
main, setNamespace, setNodeFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodesModified
protected int nodesModified
nsMap
protected NamespaceMap nsMap
XUpdateImpl
public XUpdateImpl()
setNamespaceMap
public void setNamespaceMap(NamespaceMap nsMap)
- Set the namespace map to be used when resolving queries
setQString
public void setQString(String query)
throws org.xml.sax.SAXException
- Sets the query string to be used when executing update
- Overrides:
setQString
in class org.xmldb.xupdate.lexus.XUpdateQueryImpl
execute
public void execute(org.w3c.dom.Node contextNode)
throws Exception
- Execute the XUpdate commands against a document.
- Overrides:
execute
in class org.xmldb.xupdate.lexus.XUpdateQueryImpl
execute
public void execute(Collection col)
throws Exception
- Execute the set of XUpdate commands against a collection.
- Parameters:
col
- The collection against which the command will be executed- Throws:
Exception
- Description of Exception
getModifiedCount
public int getModifiedCount()
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.