Xindice API
version 1.1b4

org.apache.xindice.tools.command
Class AddDocument

java.lang.Object
  extended byorg.apache.xindice.tools.command.Command
      extended byorg.apache.xindice.tools.command.AddDocument

public class AddDocument
extends Command

AddDocument is designed to let the user add single document and/or multiple documents to any existing collection within the current database.

Version:
CVS $Revision: 1.13 $, $Date: 2004/02/08 02:57:35 $

Field Summary
 
Fields inherited from class org.apache.xindice.tools.command.Command
XINDICE_NAME_INDEXER, XINDICE_VAL_INDEXER, XINDICELOCALURI, XINDICEURI, XMLDBAPIVERSION, XMLDBURI
 
Constructor Summary
AddDocument()
           
 
Method Summary
 boolean execute(java.util.Hashtable table)
          Adds a document to the collection
 
Methods inherited from class org.apache.xindice.tools.command.Command
normalizeCollectionURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDocument

public AddDocument()
Method Detail

execute

public boolean execute(java.util.Hashtable table)
                throws java.lang.Exception
Adds a document to the collection

Specified by:
execute in class Command
Throws:
java.lang.Exception

Xindice API
version 1.1b4

Copyright (c) 1999-2004 The Apache Software Foundation. All Rights Reserved.