xmldb_command (version 0.1, Feb 17 2002)
index
/home/garzogli/tmp/xmldb_client/src/python/xmldb_command.py

This python script is command line xmldb client

 
Modules
            
sys

 
Classes
            
xmldb.xmldb
xmldb_command

 
class xmldb_command(xmldb.xmldb)
       This class provides API for command-line xmldb
 
  
AppendToDocument(self, collection, name, Xpath, appendstring) from xmldb.xmldb
CheckOptions(self, elements)
If the options are valid
CreateCollection(self, collection, name, filer=None) from xmldb.xmldb
CreateIndexer(self, collection, name, pattern) from xmldb.xmldb
GetApiVersion(self) from xmldb.xmldb
GetCollectionCount(self, collection) from xmldb.xmldb
GetDocument(self, collection, name) from xmldb.xmldb
GetDocumentCount(self, collection) from xmldb.xmldb
GetResource(self, collection, name) from xmldb.xmldb
GetServerVersion(self) from xmldb.xmldb
GetUrl(self) from xmldb.xmldb
InsertDocument(self, collection, name, document) from xmldb.xmldb
InvokeApi(self, command)
If the options are valid
IsCollection(self, collection) from xmldb.xmldb
IsDocument(self, collection, document) from xmldb.xmldb
ListCollections(self, collection) from xmldb.xmldb
ListDocuments(self, collection) from xmldb.xmldb
ListIndexers(self, collection) from xmldb.xmldb
PrintApiVersion(self)
 Print the API Version and API Name
PrintDefault(self)
 Default print script
PrintHelp(self, element=None)
Print Help for commands
Query(self, collection, type, query, name=None, namespaces={}) from xmldb.xmldb
QueryCollection(self, collection, query) from xmldb.xmldb
QueryDocument(self, collection, name, query) from xmldb.xmldb
RemoveCollection(self, collection, name) from xmldb.xmldb
RemoveDocument(self, collection, name) from xmldb.xmldb
RemoveIndexer(self, collection, name) from xmldb.xmldb
UpdateCollection(self, collection, mod_string) from xmldb.xmldb
UpdateDocument(self, collection, name, mod_string) from xmldb.xmldb
__init__(self)
 This class initialize variables
isURL(self)
Check if a URL is provided by the user
setURL(self, url)
Set if url is provided by user

 
Data
             __author__ = 'Vijay Murthi <murthi@fnal.gov>'
__date__ = ' Feb 17 2002'
__file__ = './xmldb_command.py'
__name__ = 'xmldb_command'
__version__ = '0.1'

 
Author
             Vijay Murthi <murthi@fnal.gov>