org.xmldb.xupdate.lexus
Class XUpdateQueryImpl
java.lang.Object
|
+--org.xmldb.xupdate.lexus.XUpdateQueryImpl
- All Implemented Interfaces:
- java.io.Serializable, org.infozone.tools.xml.queries.XUpdateQuery
- public class XUpdateQueryImpl
- extends java.lang.Object
- implements org.infozone.tools.xml.queries.XUpdateQuery
Note:
If the DOM implementation you use does not support DOM-Level 2, some
features will not work properly. XUpdate uses the method
getNamespaceURI
of the org.w3c.dom.Node
interface. This method returns null
if the current Node
has no namespace. Your DOM implementation should implement this method
and alway return null, then XUpdate should work better. Nevertheless
you cannot use some features. Inserting elements and attributes just
works, if you omit the optional attribute called namespace. For more
detail about XUpdate look at the
XUpdate Working Draft.
- Version:
- $Revision: 1.3 $ $Date: 2002/03/14 14:35:54 $
- Author:
- SMB, Timothy M. Dean
- See Also:
- Serialized Form
Method Summary |
void |
execute(org.w3c.dom.Node contextNode)
|
static void |
main(java.lang.String[] args)
Main-method. |
void |
setNamespace(org.w3c.dom.Node node)
|
void |
setNodeFilter(org.w3c.dom.traversal.NodeFilter filter)
|
void |
setQString(java.lang.String query)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_URI
public static final java.lang.String NAMESPACE_URI
XUpdateQueryImpl
public XUpdateQueryImpl()
setQString
public void setQString(java.lang.String query)
throws org.xml.sax.SAXException
- Specified by:
setQString
in interface org.infozone.tools.xml.queries.XUpdateQuery
setNamespace
public void setNamespace(org.w3c.dom.Node node)
- Specified by:
setNamespace
in interface org.infozone.tools.xml.queries.XUpdateQuery
setNodeFilter
public void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter)
- Specified by:
setNodeFilter
in interface org.infozone.tools.xml.queries.XUpdateQuery
execute
public void execute(org.w3c.dom.Node contextNode)
throws java.lang.Exception
- Specified by:
execute
in interface org.infozone.tools.xml.queries.XUpdateQuery
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main-method. You can manually test your update operations.
Copyright (c) 2001 The XML:DB Initiative All rights reserved