|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.deegree.client.core.component.HtmlOutputXML
public class HtmlOutputXML
Renders an XML document indented and colored, if possible. It's also possible to create a link for downloading the value. The created file will be deleted after the given time, default are 60 minutes.
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.UIOutput |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
HtmlOutputXML()
|
|
| Method Summary | |
|---|---|
String |
getDownloadFile()
|
String |
getDownloadLabel()
|
int |
getMinutesUntilDelete()
|
String |
getStyleClass()
|
String |
getValue()
|
boolean |
isDownloadable()
|
void |
setDownloadable(boolean downloadable)
|
void |
setDownloadFile(String downloadFile)
|
void |
setDownloadLabel(String downloadLabel)
|
void |
setMinutesUntilDelete(int minutesUntilDelete)
|
void |
setStyleClass(String styleClass)
|
| Methods inherited from class javax.faces.component.UIOutput |
|---|
clearInitialState, getConverter, getFamily, getLocalValue, markInitialState, restoreState, saveState, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlOutputXML()
| Method Detail |
|---|
public void setDownloadLabel(String downloadLabel)
downloadLabel - The text rendered as label for the download link. If null, the default value will be returned.public String getDownloadLabel()
public void setDownloadable(boolean downloadable)
downloadable - true if a link for a download should be rendered. Default is false.public boolean isDownloadable()
public void setDownloadFile(String downloadFile)
downloadFile - The name of the directory in the web app directory, where the files should be stored. Can be null.public String getDownloadFile()
public void setMinutesUntilDelete(int minutesUntilDelete)
minutesUntilDelete - Time in minutes after the created file should be deleted. A value <= 0 means, the file should not be
deleted. Default value is 60.public int getMinutesUntilDelete()
public String getStyleClass()
public void setStyleClass(String styleClass)
styleClass - A comma sepereated list of available style classes, passed through the class attribute of the
component.public String getValue()
getValue in interface javax.faces.component.ValueHoldergetValue in class javax.faces.component.UIOutput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||