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-25 04:25:02 +0100 (Sun, 25 Feb 2007) $
Method Summary |
boolean |
execute(Hashtable table)
Adds a document to the collection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddDocument
public AddDocument()
execute
public boolean execute(Hashtable table)
throws Exception
- Adds a document to the collection
- Specified by:
execute
in class Command
- Throws:
Exception
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.