org.ozoneDB.xml.util
Class OzoneXUpdateQuery

java.lang.Object
  extended byorg.ozoneDB.xml.util.OzoneXUpdateQuery
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.infozone.tools.xml.queries.XUpdateQuery

public final class OzoneXUpdateQuery
extends java.lang.Object
implements org.infozone.tools.xml.queries.XUpdateQuery, java.io.Externalizable

Version:
$Revision: 1.1 $ $Date: 2003/11/02 17:26:15 $
Author:
SMB
See Also:
XMLContainer, Serialized Form

Field Summary
protected  XMLContainer delegate
           
protected  org.w3c.dom.traversal.NodeFilter filter
           
protected  org.w3c.dom.Node namespace
           
protected  java.lang.String qstring
           
protected  org.w3c.dom.Node rootNode
           
protected static long serialVersionUID
           
 
Constructor Summary
  OzoneXUpdateQuery()
           
protected OzoneXUpdateQuery(XMLContainer _delegate)
           
 
Method Summary
 void execute()
          Execute the XUpdate query.
 void execute(org.w3c.dom.Node _rootNode)
          Execute the XUpdate query.
 void readExternal(java.io.ObjectInput in)
           
 void setNamespace(org.w3c.dom.Node _namespace)
           
 void setNodeFilter(org.w3c.dom.traversal.NodeFilter _filter)
           
 void setQString(java.lang.String _qstring)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

qstring

protected java.lang.String qstring

rootNode

protected org.w3c.dom.Node rootNode

namespace

protected org.w3c.dom.Node namespace

filter

protected org.w3c.dom.traversal.NodeFilter filter

delegate

protected transient XMLContainer delegate
Constructor Detail

OzoneXUpdateQuery

public OzoneXUpdateQuery()

OzoneXUpdateQuery

protected OzoneXUpdateQuery(XMLContainer _delegate)
Method Detail

setQString

public void setQString(java.lang.String _qstring)
                throws java.lang.Exception
Specified by:
setQString in interface org.infozone.tools.xml.queries.XUpdateQuery
Throws:
java.lang.Exception

setNamespace

public void setNamespace(org.w3c.dom.Node _namespace)
                  throws java.lang.Exception
Specified by:
setNamespace in interface org.infozone.tools.xml.queries.XUpdateQuery
Throws:
java.lang.Exception

setNodeFilter

public void setNodeFilter(org.w3c.dom.traversal.NodeFilter _filter)
                   throws java.lang.Exception
Specified by:
setNodeFilter in interface org.infozone.tools.xml.queries.XUpdateQuery
Throws:
java.lang.Exception

execute

public void execute()
             throws java.lang.Exception
Execute the XUpdate query.

Throws:
java.lang.Exception
See Also:
execute(Node)

execute

public void execute(org.w3c.dom.Node _rootNode)
             throws java.lang.Exception
Execute the XUpdate query.

Specified by:
execute in interface org.infozone.tools.xml.queries.XUpdateQuery
Parameters:
_rootNode - The node from which the query should start. A value of null specifies that the entire document should be searched.
Throws:
java.lang.Exception

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.