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

com.arcle.rmt.j2se.model.RQMLDocumentFacade Class Reference

Singleton facade that abstracts the creation of an RQMLDocument. More...

Inheritance diagram for com.arcle.rmt.j2se.model.RQMLDocumentFacade:

com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl List of all members.

Public Member Functions

abstract RQMLDocument createRQMLDocument () throws RQMLDocumentFacadeException
 Factory method to create new RQMLDocument objects.

abstract RQMLDocument openDocument (File rqmlDocument) throws RQMLDocumentFacadeException
 Opens an RQML document from the specified file.

abstract void saveDocument (RQMLDocument doc, File docFile) throws RQMLDocumentFacadeException

Static Public Member Functions

synchronized final RQMLDocumentFacade getInstance ()
 Returns the singleton instance.


Protected Member Functions

 RQMLDocumentFacade ()
void rethrowException (Exception realException) throws RQMLDocumentFacadeException
 Wraps an exception and then re-throws it.


Static Private Attributes

RQMLDocumentFacade _instance = null
 The singleton instance.


Detailed Description

Singleton facade that abstracts the creation of an RQMLDocument.

See also:
RQMLDocument
Author:
Sasmito Adibowo
Version:
Id
RQMLDocumentFacade.java,v 1.4 2003/05/15 19:43:37 adib Exp

Definition at line 75 of file RQMLDocumentFacade.java.


Constructor & Destructor Documentation

com.arcle.rmt.j2se.model.RQMLDocumentFacade.RQMLDocumentFacade  )  [protected]
 

Definition at line 76 of file RQMLDocumentFacade.java.


Member Function Documentation

abstract RQMLDocument com.arcle.rmt.j2se.model.RQMLDocumentFacade.createRQMLDocument  )  throws RQMLDocumentFacadeException [pure virtual]
 

Factory method to create new RQMLDocument objects.

Implemented in com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.

synchronized final RQMLDocumentFacade com.arcle.rmt.j2se.model.RQMLDocumentFacade.getInstance  )  [static]
 

Returns the singleton instance.

Creates the instance if necessary.

Definition at line 107 of file RQMLDocumentFacade.java.

References com.arcle.rmt.j2se.model.RQMLDocumentFacade._instance.

abstract RQMLDocument com.arcle.rmt.j2se.model.RQMLDocumentFacade.openDocument File  rqmlDocument  )  throws RQMLDocumentFacadeException [pure virtual]
 

Opens an RQML document from the specified file.

Implemented in com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.

void com.arcle.rmt.j2se.model.RQMLDocumentFacade.rethrowException Exception  realException  )  throws RQMLDocumentFacadeException [protected]
 

Wraps an exception and then re-throws it.

Definition at line 99 of file RQMLDocumentFacade.java.

Referenced by com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.createRQMLDocument(), com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.openDocument(), and com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.saveDocument().

abstract void com.arcle.rmt.j2se.model.RQMLDocumentFacade.saveDocument RQMLDocument  doc,
File  docFile
throws RQMLDocumentFacadeException [pure virtual]
 

Implemented in com.arcle.rmt.j2se.model.domimpl.DocumentFacadeImpl.


Member Data Documentation

RQMLDocumentFacade com.arcle.rmt.j2se.model.RQMLDocumentFacade._instance = null [static, private]
 

The singleton instance.

Definition at line 117 of file RQMLDocumentFacade.java.

Referenced by com.arcle.rmt.j2se.model.RQMLDocumentFacade.getInstance().


The documentation for this class was generated from the following file:
Generated on Fri Jun 18 19:52:57 2004 for Arcle Rambutan by doxygen 1.3.5