Class HTMLActionHandler
java.lang.Object
org.eclipse.birt.report.engine.api.HTMLActionHandler
- All Implemented Interfaces:
IHTMLActionHandler
Defines a default action handler for HTML output format
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendBookmark
(StringBuffer buffer, String bookmark) Append bookmark.protected void
appendBookmarkAsParamter
(StringBuffer buffer, String bookmark) Append bookmark as parameter .protected void
appendFormat
(StringBuffer buffer, String format) Append format.protected void
appendParamter
(StringBuffer buffer, String key, Object valueObj) Append parameter.protected void
appendReportDesignName
(StringBuffer buffer, String reportName) Append report design name into a StringBuffer.protected String
buildDrillAction
(IAction action, Object context) builds URL for drillthrough actionprotected Object
getRenderContext
(org.eclipse.birt.report.engine.api.script.IReportContext context) Get render context.Generates a URL based on the action definition.Get URL of the action.
-
Field Details
-
log
logger
-
-
Constructor Details
-
HTMLActionHandler
public HTMLActionHandler()
-
-
Method Details
-
getURL
public String getURL(IAction actionDefn, org.eclipse.birt.report.engine.api.script.IReportContext context) Get URL of the action.- Specified by:
getURL
in interfaceIHTMLActionHandler
- Parameters:
actionDefn
-context
-- Returns:
- URL
-
getURL
Description copied from interface:IHTMLActionHandler
Generates a URL based on the action definition.- Specified by:
getURL
in interfaceIHTMLActionHandler
- Parameters:
actionDefn
- definition of an actioncontext
- the context for creating the hyper link- Returns:
- the URL based on an action
-
buildDrillAction
builds URL for drillthrough action- Parameters:
action
- instance of the IAction instancecontext
- the context for building the action string- Returns:
- a URL
-
appendReportDesignName
Append report design name into a StringBuffer.- Parameters:
buffer
-reportName
-
-
appendFormat
Append format.- Parameters:
buffer
-format
-
-
appendParamter
Append parameter.- Parameters:
buffer
-key
-valueObj
-
-
appendBookmarkAsParamter
Append bookmark as parameter .- Parameters:
buffer
-bookmark
-
-
appendBookmark
Append bookmark.- Parameters:
buffer
-bookmark
-
-
getRenderContext
Get render context.- Parameters:
context
-- Returns:
-