Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

RQMLDocumentFacade.java

Go to the documentation of this file.
00001 
00058 package com.arcle.rmt.j2se.model;
00059 
00060 import java.io.File;
00061 
00062 import com.arcle.rmt.j2se.model.domimpl.DocumentImpl;
00063 import com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl;
00064 
00075 public abstract class RQMLDocumentFacade {
00076     protected RQMLDocumentFacade() {
00077     }
00078 
00082     public abstract RQMLDocument createRQMLDocument()
00083         throws RQMLDocumentFacadeException;
00084 
00085 
00089     public abstract RQMLDocument openDocument(File rqmlDocument)
00090         throws RQMLDocumentFacadeException;
00091 
00092     public abstract void saveDocument(RQMLDocument doc, File docFile)
00093         throws RQMLDocumentFacadeException;
00094 
00095 
00099     protected void rethrowException(Exception realException)
00100             throws RQMLDocumentFacadeException {
00101         throw new RQMLDocumentFacadeException(realException);
00102     }
00103 
00107     public synchronized static final RQMLDocumentFacade getInstance() {
00108         if (_instance == null) {
00109             _instance = new DocumentFacadeImpl();
00110         }
00111         return _instance;
00112     }
00113 
00117     private static RQMLDocumentFacade _instance = null;
00118 
00119 }

Generated on Fri Jun 18 19:51:25 2004 for Arcle Rambutan by doxygen 1.3.5