net.sf.jasperreports.jsf.component.html
Class HtmlReportLink

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.html.HtmlOutputLink
                  extended by net.sf.jasperreports.jsf.component.html.HtmlReportLink
All Implemented Interfaces:
StateHolder, ValueHolder, UIReport

public class HtmlReportLink
extends HtmlOutputLink
implements UIReport

The Class HtmlReportLink.


Field Summary
static String COMPONENT_TYPE
          The Constant COMPONENT_TYPE.
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface net.sf.jasperreports.jsf.component.UIReport
COMPONENT_FAMILY
 
Constructor Summary
HtmlReportLink()
          Instantiates a new html report link.
 
Method Summary
 void encodeContent(FacesContext context)
           
 void encodeHeaders(FacesContext context)
           
 String getDataSource()
          Gets the data source.
 String getFamily()
           
 String getFormat()
          Gets the format.
 String getName()
           
 String getPath()
          Gets the path.
 String getSubreportDir()
          Gets the subreport dir.
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setDataSource(String dataSource)
          Sets the data source.
 void setFormat(String type)
          Sets the format.
 void setName(String name)
           
 void setPath(String path)
          Sets the path.
 void setSubreportDir(String subreportDir)
          Sets the subreport dir.
 
Methods inherited from class javax.faces.component.html.HtmlOutputLink
getAccesskey, getCharset, getCoords, getDir, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.StateHolder
isTransient, setTransient
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
The Constant COMPONENT_TYPE.

See Also:
Constant Field Values
Constructor Detail

HtmlReportLink

public HtmlReportLink()
Instantiates a new html report link.

Method Detail

getDataSource

public String getDataSource()
Description copied from interface: UIReport
Gets the data source.

Specified by:
getDataSource in interface UIReport
Returns:
the data source

setDataSource

public void setDataSource(String dataSource)
Description copied from interface: UIReport
Sets the data source.

Specified by:
setDataSource in interface UIReport
Parameters:
dataSource - the new data source

getPath

public String getPath()
Description copied from interface: UIReport
Gets the path.

Specified by:
getPath in interface UIReport
Returns:
the path

setPath

public void setPath(String path)
Description copied from interface: UIReport
Sets the path.

Specified by:
setPath in interface UIReport
Parameters:
path - the new path

getName

public String getName()
Specified by:
getName in interface UIReport

setName

public void setName(String name)
Specified by:
setName in interface UIReport

getSubreportDir

public String getSubreportDir()
Description copied from interface: UIReport
Gets the subreport dir.

Specified by:
getSubreportDir in interface UIReport
Returns:
the subreport dir

setSubreportDir

public void setSubreportDir(String subreportDir)
Description copied from interface: UIReport
Sets the subreport dir.

Specified by:
setSubreportDir in interface UIReport
Parameters:
subreportDir - the new subreport dir

getFormat

public String getFormat()
Description copied from interface: UIReport
Gets the format.

Specified by:
getFormat in interface UIReport
Returns:
the format

setFormat

public void setFormat(String type)
Description copied from interface: UIReport
Sets the format.

Specified by:
setFormat in interface UIReport
Parameters:
type - the new format

getFamily

public String getFamily()
Overrides:
getFamily in class UIOutput

encodeContent

public void encodeContent(FacesContext context)
                   throws IOException
Specified by:
encodeContent in interface UIReport
Throws:
IOException

encodeHeaders

public void encodeHeaders(FacesContext context)
                   throws IOException
Specified by:
encodeHeaders in interface UIReport
Throws:
IOException

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class HtmlOutputLink

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class HtmlOutputLink


Copyright © 2009 SourceForge.net. All Rights Reserved.