public class ExportFormatter extends Formatter
Modifier and Type | Field and Description |
---|---|
protected String |
closedIcon |
protected ExportHandler |
exportHandler |
protected String |
openedIcon |
protected String |
thumbnail |
Constructor and Description |
---|
ExportFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
getClosedIcon() |
protected String |
getExpandAction(Workspace workspace) |
protected String |
getExpandIcon(Workspace workspace) |
ExportHandler |
getExportHandler() |
String |
getOpenedIcon() |
protected Comparator<Section> |
newSectionComparatorByName() |
protected Comparator<Workspace> |
newWorkspaceComparatorByName() |
void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Perform the required logic for this Formatter.
|
void |
setClosedIcon(String closedIcon) |
void |
setExportHandler(ExportHandler exportHandler) |
void |
setOpenedIcon(String openedIcon) |
afterRendering, formatObject, getDefaultLang, getDriver, getEncoding, getLang, getLocale, getLocaleManager, getLocalizedValue, getPanel, getParameter, getProvider, getSection, getWorkspace, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOut
@Inject protected ExportHandler exportHandler
@Inject protected String thumbnail
@Inject protected String openedIcon
@Inject protected String closedIcon
public String getClosedIcon()
public void setClosedIcon(String closedIcon)
public String getOpenedIcon()
public void setOpenedIcon(String openedIcon)
public ExportHandler getExportHandler()
public void setExportHandler(ExportHandler exportHandler)
public void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws FormatterException
Formatter
service
in class Formatter
httpServletRequest
- user requesthttpServletResponse
- response to the userFormatterException
- in case of an unexpected exception.protected Comparator<Workspace> newWorkspaceComparatorByName()
protected Comparator<Section> newSectionComparatorByName()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.