Public Member Functions | |
RQMLDocument | importSuperwabaDocument (File pdbFile, PrintWriter log) throws BridgeFacadeException |
Loads a SuperWaba .pdb file into an RQMLDocument suitable for editing in the desktop. | |
void | exportSuperwabaDocument (RQMLDocument desktopDoc, File pdbFile, PrintWriter log) throws BridgeFacadeException |
Exports a desktop document to the specified file formatted as a handheld document (SuperWaba .pdb file). | |
Static Public Member Functions | |
synchronized BridgeFacade | getInstance () |
Returns the singleton instance. | |
Protected Member Functions | |
Document | openSuperwabaDocument (File pdbFile) throws IOException |
Opens a handheld document file. | |
void | pumpElements (Document source, RQMLDocument destination, PrintWriter log) |
Exports the first-class elements from the handheld document into the desktop document. | |
int | pumpElements (RQMLDocument source, Document destination, PrintWriter log) |
Exports first-class elements from a desktop document to the specified handheld document. | |
String | makeCatalogFileName (File file) throws IOException |
Strips the ".pdb" extension from the back of a filename since SuperWaba's Catalog class doesn't like it. | |
String | stripPDBSuffix (String str) |
void | rethrowException (Exception real) throws BridgeFacadeException |
Packages an exception in a BridgeFacadeException object and rethrow it. | |
Private Member Functions | |
BridgeFacade () | |
This is a singleton class -- do not instantiate this class directly. | |
Static Private Attributes | |
BridgeFacade | _instance = null |
The singleton instance. |
Definition at line 91 of file BridgeFacade.java.
|
This is a singleton class -- do not instantiate this class directly. Use getInstance() instead.
Definition at line 97 of file BridgeFacade.java. Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.getInstance(). |
|
Exports a desktop document to the specified file formatted as a handheld document (SuperWaba
Definition at line 133 of file BridgeFacade.java. References com.arcle.rmt.j2se.bridge.BridgeFacade.makeCatalogFileName(), com.arcle.rmt.j2se.bridge.BridgeFacade.pumpElements(), com.arcle.rmt.j2se.bridge.BridgeFacade.rethrowException(), com.arcle.rmt.superwaba.model.Document.setTitle(), and com.arcle.rmt.j2se.bridge.BridgeFacade.stripPDBSuffix(). |
|
Returns the singleton instance.
Definition at line 237 of file BridgeFacade.java. References com.arcle.rmt.j2se.bridge.BridgeFacade._instance, and com.arcle.rmt.j2se.bridge.BridgeFacade.BridgeFacade(). |
|
Loads a SuperWaba
Definition at line 112 of file BridgeFacade.java. References com.arcle.rmt.j2se.bridge.BridgeFacade.openSuperwabaDocument(), com.arcle.rmt.j2se.bridge.BridgeFacade.pumpElements(), and com.arcle.rmt.j2se.bridge.BridgeFacade.rethrowException(). |
|
Strips the ".pdb" extension from the back of a filename since SuperWaba's Catalog class doesn't like it.
Definition at line 207 of file BridgeFacade.java. References com.arcle.rmt.j2se.bridge.BridgeFacade.stripPDBSuffix(). Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.exportSuperwabaDocument(), and com.arcle.rmt.j2se.bridge.BridgeFacade.openSuperwabaDocument(). |
|
Opens a handheld document file.
Definition at line 156 of file BridgeFacade.java. References com.arcle.rmt.superwaba.model.DocumentManager.loadDocument(), and com.arcle.rmt.j2se.bridge.BridgeFacade.makeCatalogFileName(). Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.importSuperwabaDocument(). |
|
Exports first-class elements from a desktop document to the specified handheld document.
Definition at line 185 of file BridgeFacade.java. References com.arcle.rmt.j2se.bridge.swexport.SwExportFacade.export(), and com.arcle.rmt.j2se.model.RQMLDocument.getElements(). |
|
Exports the first-class elements from the handheld document into the desktop document.
Definition at line 173 of file BridgeFacade.java. Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.exportSuperwabaDocument(), and com.arcle.rmt.j2se.bridge.BridgeFacade.importSuperwabaDocument(). |
|
Packages an exception in a BridgeFacadeException object and rethrow it.
Definition at line 229 of file BridgeFacade.java. Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.exportSuperwabaDocument(), and com.arcle.rmt.j2se.bridge.BridgeFacade.importSuperwabaDocument(). |
|
Definition at line 211 of file BridgeFacade.java. Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.exportSuperwabaDocument(), and com.arcle.rmt.j2se.bridge.BridgeFacade.makeCatalogFileName(). |
|
The singleton instance.
Definition at line 247 of file BridgeFacade.java. Referenced by com.arcle.rmt.j2se.bridge.BridgeFacade.getInstance(). |