de.unidu.is.retrieval.hyrex
Class HyREXSchemaWriter

java.lang.Object
  extended byde.unidu.is.retrieval.hyrex.HyREXSchemaWriter

public class HyREXSchemaWriter
extends java.lang.Object

A class for writing HyREX DDL files from schemas.

Since:
2005-07-19
Version:
$Revision: 1.8 $, $Date: 2005/03/14 17:33:14 $
Author:
Henrik Nottelmann

Field Summary
protected  java.io.File dir
          Directory for the files.
 
Constructor Summary
HyREXSchemaWriter(java.io.File dir)
          Creates a new instance.
 
Method Summary
 void write(Schema schema, boolean structure)
          Writes the schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dir

protected java.io.File dir
Directory for the files.

Constructor Detail

HyREXSchemaWriter

public HyREXSchemaWriter(java.io.File dir)
Creates a new instance.

Parameters:
dir - directory for the files
Method Detail

write

public void write(Schema schema,
                  boolean structure)
Writes the schema.

Parameters:
schema - schema to write
structure - defines if structure or plain schemas are used