Xindice API
version 1.1

org.apache.xindice.tools.command
Class AddCollection

java.lang.Object
  extended by org.apache.xindice.tools.command.Command
      extended by org.apache.xindice.tools.command.AddCollection

public class AddCollection
extends Command

AddCollection.java is designed to let the user create new Collections and Nested Collections within the Database.

Version:
$Revision: 525295 $, $Date: 2007-04-03 23:52:05 +0200 (Tue, 03 Apr 2007) $

Field Summary
 
Fields inherited from class org.apache.xindice.tools.command.Command
XINDICE_NAME_INDEXER, XINDICE_VAL_INDEXER, XINDICELOCALURI, XINDICEURI, XMLDBAPIVERSION, XMLDBURI
 
Constructor Summary
AddCollection()
           
 
Method Summary
 boolean execute(Hashtable table)
          Creates 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

AddCollection

public AddCollection()
Method Detail

execute

public boolean execute(Hashtable table)
                throws Exception
Creates collection

Specified by:
execute in class Command
Throws:
Exception

Xindice API
version 1.1

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