Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mwc.sqld.db
Class XMLDatabase

    java.lang.Object
      |
      +--com.mwc.sqld.db.SimpleDatabase
            |
            +--com.mwc.sqld.db.XMLDatabase

All Implemented Interfaces:
  Database

public class XMLDatabase
extends SimpleDatabase

An XML database implementation.

Constructor Summary
`XMLDatabase(java.lang.String name, java.lang.String dataDirectory)`

Method Summary
`void` | `close()`
`Table` | `createTable(java.lang.String name, java.lang.String[][] cols)`
`boolean` | `dropTable(java.lang.String table)`
`Table` | `getTable(java.lang.String table)`
`java.io.File` | `getTempFile()`
`boolean` | `modified()`
`java.lang.String` | `name()`
`boolean` | `save()`
`void` | `sync()`
`java.lang.String[]` | `tableNames()`

Methods inherited from class com.mwc.sqld.db.SimpleDatabase
`delete, getNewSorter, insert, select, update`

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

Constructor Detail

### XMLDatabase

    public XMLDatabase(java.lang.String name,
                       java.lang.String dataDirectory)
                throws DBException

Method Detail

### createTable

    public Table createTable(java.lang.String name,
                             java.lang.String[][] cols)

### name

    public java.lang.String name()

### getTempFile

    public java.io.File getTempFile()

### getTable

    public Table getTable(java.lang.String table)

### tableNames

    public java.lang.String[] tableNames()

### dropTable

    public boolean dropTable(java.lang.String table)

### save

    public boolean save()

### modified

    public boolean modified()

### sync

    public void sync()

### close

    public void close()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD