|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmldb.xupdate.lexus.XUpdateQueryImpl
org.apache.xindice.core.xupdate.XUpdateImpl
public class XUpdateImpl
Provides Collection and document based XUpdate capabilities. For more detail about XUpdate look at the XUpdate Working Draft.
Field Summary | |
---|---|
protected int |
nodesModified
|
protected NamespaceMap |
nsMap
|
Fields inherited from class org.xmldb.xupdate.lexus.XUpdateQueryImpl |
---|
commandConstants, namespace, NAMESPACE_URI, namespaces, query |
Constructor Summary | |
---|---|
XUpdateImpl()
|
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(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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int nodesModified
protected NamespaceMap nsMap
Constructor Detail |
---|
public XUpdateImpl()
Method Detail |
---|
public void setNamespaceMap(NamespaceMap nsMap)
public void setQString(String query) throws org.xml.sax.SAXException
setQString
in interface org.xmldb.common.xml.queries.XUpdateQuery
setQString
in class org.xmldb.xupdate.lexus.XUpdateQueryImpl
org.xml.sax.SAXException
public void execute(org.w3c.dom.Node contextNode) throws Exception
execute
in interface org.xmldb.common.xml.queries.XUpdateQuery
execute
in class org.xmldb.xupdate.lexus.XUpdateQueryImpl
Exception
public void execute(Collection col) throws Exception
col
- The collection against which the command will be executed
Exception
- Description of Exceptionpublic int getModifiedCount()
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |