Package net.ontopia.persistence.rdbms
Class DatabaseProjectReader
java.lang.Object
net.ontopia.persistence.rdbms.DatabaseProjectReader
INTERNAL: Class that can read a database schema definition from an
XML representation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final AttributesImplprotected static final Stringprotected static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectloadProject(InputStream istream) static ProjectloadProject(String filename) INTERNAL: Reads the database schema definition from the specified file.static ProjectloadProject(InputSource isource) static voidstatic voidsaveProject(Project project, String filename) static voidsaveProject(Project project, String filename, String encoding) static voidsaveProject(Project project, ContentHandler dh)
-
Field Details
-
EMPTY_ATTR_LIST
-
EMPTY_NAMESPACE
- See Also:
-
EMPTY_LOCALNAME
- See Also:
-
-
Method Details
-
loadProject
INTERNAL: Reads the database schema definition from the specified file.- Throws:
IOExceptionSAXException
-
loadProject
- Throws:
IOExceptionSAXException
-
loadProject
- Throws:
IOExceptionSAXException
-
saveProject
- Throws:
IOExceptionSAXException
-
saveProject
public static void saveProject(Project project, String filename, String encoding) throws IOException, SAXException - Throws:
IOExceptionSAXException
-
saveProject
- Throws:
SAXException
-
main
- Throws:
IOExceptionSAXException
-