# XMLDBCreateTask
Keywords: org.exist.ant.XMLDBCreateTask class

## org.exist.ant
Class XMLDBCreateTask

    java.lang.Object
      org.apache.tools.ant.ProjectComponent
          org.apache.tools.ant.Task
              org.exist.ant.AbstractXMLDBTask
                  org.exist.ant.XMLDBCreateTask

public class XMLDBCreateTask
extends AbstractXMLDBTask

an ant task to create a empty collection

Author:
  peter.klotz@blue-elephant-systems.com

Constructor Summary
`XMLDBCreateTask()`

Method Summary
`void` `execute()`
`void` `setCollection(java.lang.String collection)`

Methods inherited from class org.exist.ant.AbstractXMLDBTask
`setDriver, setFailonerror, setInitdb, setPassword, setUri, setUser`

Methods inherited from class org.apache.tools.ant.Task
`getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType`

Methods inherited from class org.apache.tools.ant.ProjectComponent
`getProject, setProject`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XMLDBCreateTask

    public XMLDBCreateTask()

Method Detail

### execute

    public void execute()
                 throws org.apache.tools.ant.BuildException

  Throws:
    `org.apache.tools.ant.BuildException`

### setCollection

    public void setCollection(java.lang.String collection)

  Parameters:
    `collection` -

Copyright (C) Wolfgang Meier. All rights reserved.