Xindice API
version 1.1

org.apache.xindice.tools.command
Class AddDocument

java.lang.Object
  |
  +--org.apache.xindice.tools.command.Command
        |
        +--org.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:
$Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $

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(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(Hashtable table)
                throws Exception
Adds a document to the collection
Overrides:
execute in class Command

Xindice API
version 1.1

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