Seam UI JSF2 support 2.3.1.Final-redhat-2

org.jboss.seam.ui.component
Class UIResource

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.jboss.seam.ui.component.UIResource
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
Direct Known Subclasses:
HtmlResource

public abstract class UIResource
extends javax.faces.component.UIComponentBase

JSF Component which can use a data in form as inputstream, java.util.File or byte[] and a content-type, this tag sends the data to the browser

Author:
Daniel Roth

Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
UIResource()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext arg0)
           
abstract  String getContentType()
           
abstract  Object getData()
           
abstract  String getDisposition()
           
abstract  String getFileName()
           
abstract  void setContentType(String contentType)
           
abstract  void setData(Object data)
           
abstract  void setDisposition(String disposition)
           
abstract  void setFileName(String fileName)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIResource

public UIResource()
Method Detail

getData

public abstract Object getData()

setData

public abstract void setData(Object data)

getContentType

public abstract String getContentType()

setContentType

public abstract void setContentType(String contentType)

getDisposition

public abstract String getDisposition()

setDisposition

public abstract void setDisposition(String disposition)

getFileName

public abstract String getFileName()

setFileName

public abstract void setFileName(String fileName)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext arg0)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
IOException

Seam UI JSF2 support 2.3.1.Final-redhat-2

Copyright © 2013 Seam Framework. All Rights Reserved.