⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ooxmldomfactory.java

📁 用Java写的面相对象的数据库管理系统
💻 JAVA
字号:
// Copyright 1997-1999 by softwarebuero m&b (SMB). All rights reserved.//// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by softwarebuero m&b (SMB).//// $Id: OOXMLDOMFactory.java,v 1.7 2000/10/28 16:55:22 daniela Exp $package org.ozoneDB.xml;import org.w3c.dom.Document;import org.ozoneDB.xml.dom.*;import org.ozoneDB.xml.*;import org.ozoneDB.*;public class OOXMLDOMFactory extends DOMFactory {            public static Document createDocument( Class docClass, OzoneInterface ozoneDB, String docName ) {        try {            // Returns the document type which is either docClass (must extend            // Document), or the class from the properties file, or XMLDocument.            docClass = getDocClass( docClass );                        // Instantiate a new document, report any error encountered and default            // to XMLDocument is necessary.            if (docClass != null && docClass != Document.class && docClass != XMLDocument.class) {                return (Document)ozoneDB.createObject( docClass.getName(), 0, docName );            } else {                return (Document)ozoneDB.createObject( org.ozoneDB.xml.dom.DocumentImpl.class.getName(), 0, docName );            }         } catch (Exception except) {            except.printStackTrace();            return (Document)null;        }     }     }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -