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 voidappendBookmark(StringBuffer buffer, String bookmark) Append bookmark.protected voidappendBookmarkAsParamter(StringBuffer buffer, String bookmark) Append bookmark as parameter .protected voidappendFormat(StringBuffer buffer, String format) Append format.protected voidappendParamter(StringBuffer buffer, String key, Object valueObj) Append parameter.protected voidappendReportDesignName(StringBuffer buffer, String reportName) Append report design name into a StringBuffer.protected StringbuildDrillAction(IAction action, Object context) builds URL for drillthrough actionprotected ObjectgetRenderContext(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:
getURLin interfaceIHTMLActionHandler- Parameters:
actionDefn-context-- Returns:
- URL
-
getURL
Description copied from interface:IHTMLActionHandlerGenerates a URL based on the action definition.- Specified by:
getURLin 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:
-