net.ontopia.persistence.rdbms
Class DatabaseProjectReader
java.lang.Object
net.ontopia.persistence.rdbms.DatabaseProjectReader
public class DatabaseProjectReader
- extends java.lang.Object
INTERNAL: Class that can read a database schema definition from an
XML representation.
Field Summary |
protected static org.xml.sax.helpers.AttributeListImpl |
EMPTY_ATTR_LIST
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ATTR_LIST
protected static final org.xml.sax.helpers.AttributeListImpl EMPTY_ATTR_LIST
loadProject
public static Project loadProject(java.lang.String filename)
throws java.io.IOException,
org.xml.sax.SAXException
- INTERNAL: Reads the database schema definition from the specified file.
- Throws:
java.io.IOException
org.xml.sax.SAXException
loadProject
public static Project loadProject(java.io.InputStream istream)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
loadProject
public static Project loadProject(org.xml.sax.InputSource isource)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
saveProject
public static void saveProject(Project project,
java.lang.String filename)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
saveProject
public static void saveProject(Project project,
java.lang.String filename,
java.lang.String encoding)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
saveProject
public static void saveProject(Project project,
org.xml.sax.DocumentHandler dh)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
Copyright © 2000-2012 Ontopia.