org.hibernatespatial.pojo
Class MappingsGenerator

java.lang.Object
  extended by org.hibernatespatial.pojo.MappingsGenerator

public class MappingsGenerator
extends Object

This class creates a Hibernate mapping file for a list of tables.

Author:
Karel Maesen, Geovise BVBA (http://www.geovise.com/)

Constructor Summary
MappingsGenerator(String packageName)
           
 
Method Summary
 org.dom4j.Document getMappingsDoc()
           
 void load(Collection<ClassInfo> mappedClasses, String schema)
           
 void write(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingsGenerator

public MappingsGenerator(String packageName)
Method Detail

write

public void write(Writer writer)
           throws IOException
Throws:
IOException

getMappingsDoc

public org.dom4j.Document getMappingsDoc()

load

public void load(Collection<ClassInfo> mappedClasses,
                 String schema)
          throws MissingIdentifierException
Throws:
MissingIdentifierException


Copyright © 2011 hibernatespatial.org. All Rights Reserved.