org.apache.xindice.core.xupdate
Class XUpdateImpl
java.lang.Object
|
+--org.xmldb.xupdate.lexus.XUpdateQueryImpl
|
+--org.apache.xindice.core.xupdate.XUpdateImpl
- All Implemented Interfaces:
- java.io.Serializable, org.infozone.tools.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.
- See Also:
- Serialized Form
Fields inherited from class org.xmldb.xupdate.lexus.XUpdateQueryImpl |
NAMESPACE_URI |
Method Summary |
void |
execute(Collection col)
Execute the set of XUpdate commands against a collection. |
void |
execute(org.w3c.dom.Node contextNode)
Execute the XUpdate commands against a document. |
int |
getModifiedCount()
|
void |
setNamespaceMap(NamespaceMap nsMap)
Set the namespace map to be used when resolving queries |
void |
setQString(java.lang.String query)
Sets the query string to be used when executing update |
Methods inherited from class org.xmldb.xupdate.lexus.XUpdateQueryImpl |
main, setNamespace, setNodeFilter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XUpdateImpl
public XUpdateImpl()
setNamespaceMap
public void setNamespaceMap(NamespaceMap nsMap)
- Set the namespace map to be used when resolving queries
setQString
public void setQString(java.lang.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 java.lang.Exception
- Execute the XUpdate commands against a document.
- Overrides:
execute
in class org.xmldb.xupdate.lexus.XUpdateQueryImpl
execute
public void execute(Collection col)
throws java.lang.Exception
- Execute the set of XUpdate commands against a collection.
- Parameters:
contextNode
- Description of Parameter- Throws:
java.lang.Exception
- Description of Exception
getModifiedCount
public int getModifiedCount()
Copyright (c) 1999-2001 The Apache Software Foundation