TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.report.drivers.html
Class DAbstractDocumentPolicy

java.lang.Object
  extended by org.eclipse.tptp.platform.report.drivers.html.DAbstractDocumentPolicy
All Implemented Interfaces:
IDGenerationPolicy
Direct Known Subclasses:
DMultiDocumentPolicy, DOneDocumentPolicy

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public abstract class DAbstractDocumentPolicy
extends java.lang.Object
implements IDGenerationPolicy

This interface provides the service to generate valid html link reference.


Constructor Summary
DAbstractDocumentPolicy(DHtmlWriter wh, java.lang.String basePath, org.eclipse.tptp.platform.report.tools.internal.IDIImageProvider imgp)
          Deprecated.  
 
Method Summary
 void doMethod(org.eclipse.tptp.platform.report.core.internal.DPopup item, org.eclipse.tptp.platform.report.extension.internal.DExtensible ext, java.lang.Object arg)
          Deprecated.  
 java.lang.String getBaseDirectoryPath()
          Deprecated.  
 java.lang.String getFileExtension()
          Deprecated.  
 java.lang.String getImageDirectoryName()
          Deprecated.  
 java.lang.String getImageDirectoryPath()
          Deprecated.  
 org.eclipse.tptp.platform.report.tools.internal.IDIImageProvider getImageProvider()
          Deprecated.  
 java.lang.String getImageUrl(org.eclipse.tptp.platform.report.core.internal.DImage image)
          Deprecated.  
 DHtmlWriter getWriter()
          Deprecated.  
 void setBaseDirectoryPath(java.lang.String dirname)
          Deprecated. Sets the destination directory for HTML files.
 void setFileExtension(java.lang.String fileExtension)
          Deprecated. Sets the file extension for the HTML file
 void setImageDirectoryName(java.lang.String imageDirectoryName)
          Deprecated. Sets the image directory name.
 void start()
          Deprecated. Creates the directory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.report.drivers.html.IDGenerationPolicy
getLinkUrl
 

Constructor Detail

DAbstractDocumentPolicy

public DAbstractDocumentPolicy(DHtmlWriter wh,
                               java.lang.String basePath,
                               org.eclipse.tptp.platform.report.tools.internal.IDIImageProvider imgp)
Deprecated. 
Method Detail

getWriter

public DHtmlWriter getWriter()
Deprecated. 
Returns:
the Html writer

getImageUrl

public java.lang.String getImageUrl(org.eclipse.tptp.platform.report.core.internal.DImage image)
                             throws DHtmlWriterException
Deprecated. 
Specified by:
getImageUrl in interface IDGenerationPolicy
Returns:
the valid url for the image
Throws:
DHtmlWriterException

doMethod

public void doMethod(org.eclipse.tptp.platform.report.core.internal.DPopup item,
                     org.eclipse.tptp.platform.report.extension.internal.DExtensible ext,
                     java.lang.Object arg)
              throws DHtmlWriterException
Deprecated. 
Throws:
DHtmlWriterException

getFileExtension

public java.lang.String getFileExtension()
Deprecated. 
Returns:
the file extension for the HTML file. By default return ".html"

setFileExtension

public void setFileExtension(java.lang.String fileExtension)
Deprecated. 
Sets the file extension for the HTML file


setBaseDirectoryPath

public void setBaseDirectoryPath(java.lang.String dirname)
Deprecated. 
Sets the destination directory for HTML files.


getBaseDirectoryPath

public java.lang.String getBaseDirectoryPath()
Deprecated. 
Specified by:
getBaseDirectoryPath in interface IDGenerationPolicy
Returns:
the destination directory for HTML files.

getImageDirectoryPath

public java.lang.String getImageDirectoryPath()
Deprecated. 
Specified by:
getImageDirectoryPath in interface IDGenerationPolicy
Returns:
the image directory path

start

public void start()
Deprecated. 
Creates the directory

Specified by:
start in interface IDGenerationPolicy

getImageDirectoryName

public java.lang.String getImageDirectoryName()
Deprecated. 
Returns:
the image directory name. By default returns 'images'.

setImageDirectoryName

public void setImageDirectoryName(java.lang.String imageDirectoryName)
Deprecated. 
Sets the image directory name.


getImageProvider

public org.eclipse.tptp.platform.report.tools.internal.IDIImageProvider getImageProvider()
Deprecated. 
Specified by:
getImageProvider in interface IDGenerationPolicy
Returns:
the Image provider

TPTP 4.5.0 Platform Project
Public API Specification