de.bea.domingo.proxy
Class DxlExporterProxy

java.lang.Object
  extended by de.bea.domingo.monitor.AbstractMonitorEnabled
      extended by de.bea.domingo.proxy.BaseProxy
          extended by de.bea.domingo.proxy.DxlExporterProxy
All Implemented Interfaces:
DBase, DDxlExporter, MonitorEnabled, java.io.Serializable

public final class DxlExporterProxy
extends BaseProxy
implements DDxlExporter

Represents a view entry. A view entry describes a row in a view.

Author:
Kurt Riede
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.bea.domingo.proxy.BaseProxy
BaseProxy.DocumentCollectionIterator
 
Field Summary
 
Fields inherited from class de.bea.domingo.proxy.BaseProxy
DATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES
 
Method Summary
 java.lang.String exportDxl(DDatabase database)
          Converts Domino data to DXL data.
 java.lang.String exportDxl(DDocument document)
          Converts Domino data to DXL data.
 java.lang.String exportDxl(DDocumentCollection documentCollection)
          Converts Domino data to DXL data.
 boolean getConvertNotesBitmapsToGIF()
          Indicates whether bit maps pasted in rich text items should be converted to GIF format.
 java.lang.String getDoctypeSYSTEM()
          The value of SYSTEM in the exported !
static DxlExporterProxy getInstance(NotesProxyFactory theFactory, DBase parent, lotus.domino.DxlExporter exporter, DNotesMonitor monitor)
          Creates an encapsulated notes session object.
 boolean getOutputDOCTYPE()
          Indicates whether a !
 void setConvertNotesBitmapsToGIF(boolean flag)
          
 void setDoctypeSYSTEM(java.lang.String systemId)
          The value of SYSTEM in the exported !
 void setOutputDoctype(boolean flag)
          Indicates whether a !
 java.lang.String toString()
          Returns a short description of an instance.
 
Methods inherited from class de.bea.domingo.proxy.BaseProxy
checkSession, clearNotesObject, convertCalendarsToNotesDateTime, convertListToVector, convertNotesDateTimesToCalendar, convertVectorToList, createCalendar, createDateRange, createDateTime, decrementDateTimeCounter, finalize, getCountDateTime, getDSession, getFactory, getNotesObject, getParent, incrementDateTimeCounter, newException, newException, newException, newRuntimeException, newRuntimeException, newRuntimeException, recycleDateTimeList, refereceHashCode, toStringGeneric, toStringIntern
 
Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled
getMonitor, setMonitor
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.bea.domingo.DBase
equals, hashCode
 

Method Detail

getInstance

public static DxlExporterProxy getInstance(NotesProxyFactory theFactory,
                                           DBase parent,
                                           lotus.domino.DxlExporter exporter,
                                           DNotesMonitor monitor)
Creates an encapsulated notes session object.

Parameters:
theFactory - the controlling factory
parent - the parent object
exporter - the Notes ViewEntry
monitor - the monitor
Returns:
a session object

toString

public java.lang.String toString()
Description copied from interface: DBase
Returns a short description of an instance.

Specified by:
toString in interface DBase
Overrides:
toString in class java.lang.Object
Returns:
"DxlExporterProxy"
See Also:
Object.toString()

exportDxl

public java.lang.String exportDxl(DDatabase database)
                           throws DNotesException
Converts Domino data to DXL data.

Specified by:
exportDxl in interface DDxlExporter
Parameters:
database - The Domino data to be converted, in this case the entire database.
Returns:
The exported DXL.
Throws:
DNotesException - if the Domino data cannot be exported
See Also:
DDxlExporter.exportDxl(de.bea.domingo.DDatabase)

exportDxl

public java.lang.String exportDxl(DDocument document)
                           throws DNotesException
Converts Domino data to DXL data.

Specified by:
exportDxl in interface DDxlExporter
Parameters:
document - The Domino data to be converted, in this case one document.
Returns:
The exported DXL.
Throws:
DNotesException - if the Domino data cannot be exported
See Also:
DDxlExporter.exportDxl(de.bea.domingo.DDocument)

exportDxl

public java.lang.String exportDxl(DDocumentCollection documentCollection)
                           throws DNotesException
Converts Domino data to DXL data.

Specified by:
exportDxl in interface DDxlExporter
Parameters:
documentCollection - document The Domino data to be converted, in this case the documents in a document collection.
Returns:
The exported DXL.
Throws:
DNotesException - if the Domino data cannot be exported
See Also:
DDxlExporter.exportDxl(de.bea.domingo.DDocumentCollection)

getOutputDOCTYPE

public boolean getOutputDOCTYPE()
Indicates whether a !DOCTYPE statement is exported or not.

Specified by:
getOutputDOCTYPE in interface DDxlExporter
Returns:
true (default) to export a !DOCTYPE statement
See Also:
DDxlExporter.getOutputDOCTYPE()

setOutputDoctype

public void setOutputDoctype(boolean flag)
Indicates whether a !DOCTYPE statement is exported or not.

Specified by:
setOutputDoctype in interface DDxlExporter
Parameters:
flag - true (default) to export a !DOCTYPE statement
See Also:
DDxlExporter.setOutputDoctype(boolean)

getDoctypeSYSTEM

public java.lang.String getDoctypeSYSTEM()
The value of SYSTEM in the exported !DOCTYPE statement.

Specified by:
getDoctypeSYSTEM in interface DDxlExporter
Returns:
system doctype
See Also:
DDxlExporter.getDoctypeSYSTEM()

setDoctypeSYSTEM

public void setDoctypeSYSTEM(java.lang.String systemId)
The value of SYSTEM in the exported !DOCTYPE statement.

Specified by:
setDoctypeSYSTEM in interface DDxlExporter
Parameters:
systemId - system doctype
See Also:
DDxlExporter.setDoctypeSYSTEM(java.lang.String)

setConvertNotesBitmapsToGIF

public void setConvertNotesBitmapsToGIF(boolean flag)

Specified by:
setConvertNotesBitmapsToGIF in interface DDxlExporter
Parameters:
flag - true to convert bit maps false (default) to leave bit maps in Notes format
See Also:
DDxlExporter.setDoctypeSYSTEM(java.lang.String)

getConvertNotesBitmapsToGIF

public boolean getConvertNotesBitmapsToGIF()
Indicates whether bit maps pasted in rich text items should be converted to GIF format.

Specified by:
getConvertNotesBitmapsToGIF in interface DDxlExporter
Returns:
true to convert bit maps false (default) to leave bit maps in Notes format
See Also:
DDxlExporter.getConvertNotesBitmapsToGIF()


Domingo Java-API