Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-04


oracle.adf.view.rich.component.fragment
Class UIXInclude

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by oracle.adf.view.rich.component.fragment.ContextSwitchingComponent
                  extended by oracle.adf.view.rich.component.fragment.UIXInclude

All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder, org.apache.myfaces.trinidad.component.FlattenedComponent
Direct Known Subclasses:
UIXDeclarativeComponent, UIXDynamicDeclarativeComponent, UIXPageTemplate

public class UIXInclude
extends ContextSwitchingComponent
implements javax.faces.component.NamingContainer

Events:

Type Phases Description
org.apache.myfaces.trinidad.event.AttributeChangeEvent Invoke Application
Apply Request Values
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey COMPONENT_VAR_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey VAR_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey VIEW_ID_KEY
           

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY

 

Fields inherited from class javax.faces.component.UIComponent
bindings

 

Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR

 

Constructor Summary
  UIXInclude()
          Construct an instance of the UIXInclude.
protected UIXInclude(java.lang.String rendererType)
          Construct an instance of the UIXInclude.

 

Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
protected  org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(java.lang.String rendererType)
           
protected  java.lang.Object getAttribute(java.lang.Object key)
          Deprecated. This function should not be relied upon and will be removed in a future release.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.lang.String getComponentVar()
          Gets The EL variable name used to access the component.
 java.lang.String getFamily()
           
 java.lang.String getVar()
          Gets The EL variable name to used to access the attributes of the component.
 java.lang.String getViewId()
          Gets the view ID.
 boolean invokeOnComponent(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback)
          Override to always setup the visiting context before invoking the callback, or our children
 void queueEvent(javax.faces.event.FacesEvent evt)
           
protected  java.lang.Object setAttribute(java.lang.Object key, java.lang.Object value)
          Deprecated. This function should not be relied upon and will be removed in a future release.
 void setComponentVar(java.lang.String componentVar)
          Sets The EL variable name used to access the component.
protected  void setupVisitingContext(javax.faces.context.FacesContext facesContext)
          Sets up EL variables including the attribute map for use by the children of this include.
 void setVar(java.lang.String var)
          Sets The EL variable name to used to access the attributes of the component.
protected  void tearDownVisitingContext(javax.faces.context.FacesContext facesContext)
          Restores the previous values of all the EL variables maintained by this component.

 

Methods inherited from class oracle.adf.view.rich.component.fragment.ContextSwitchingComponent
encodeBegin, encodeEnd, finishComponentEncoding, isFlatteningChildren, processDecodes, processFlattenedChildren, processUpdates, processValidators, restoreContext, setupContext

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeChildren, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent
addPartialTarget, encodeFlattenedChild, encodeFlattenedChildren, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, tearDownEncodingContext, visitTree, visitTree

 

Methods inherited from class javax.faces.component.UIComponent
getContainerClientId

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

VAR_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey VAR_KEY

COMPONENT_VAR_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey COMPONENT_VAR_KEY

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

VIEW_ID_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey VIEW_ID_KEY

Constructor Detail

UIXInclude

public UIXInclude()
Construct an instance of the UIXInclude.

UIXInclude

protected UIXInclude(java.lang.String rendererType)
Construct an instance of the UIXInclude.

Method Detail

queueEvent

public void queueEvent(javax.faces.event.FacesEvent evt)
Overrides:
queueEvent in class ContextSwitchingComponent

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class ContextSwitchingComponent
Throws:
javax.faces.event.AbortProcessingException

invokeOnComponent

public boolean invokeOnComponent(javax.faces.context.FacesContext context,
                                 java.lang.String clientId,
                                 javax.faces.component.ContextCallback callback)
                          throws javax.faces.FacesException
Description copied from class: ContextSwitchingComponent
Override to always setup the visiting context before invoking the callback, or our children
Overrides:
invokeOnComponent in class ContextSwitchingComponent
Throws:
javax.faces.FacesException
See Also:
UIXComponent.setupVisitingContext(javax.faces.context.FacesContext), UIXComponent.tearDownVisitingContext(javax.faces.context.FacesContext)

setupVisitingContext

protected void setupVisitingContext(javax.faces.context.FacesContext facesContext)
Sets up EL variables including the attribute map for use by the children of this include. If you override this method, you will need to call super.setupVisitingContext() after any code that has EL dependencies or else you will be in danger of encountering an infinite loop.
Overrides:
setupVisitingContext in class org.apache.myfaces.trinidad.component.UIXComponent

tearDownVisitingContext

protected void tearDownVisitingContext(javax.faces.context.FacesContext facesContext)
Restores the previous values of all the EL variables maintained by this component. If you override this method, you will need to call super.tearDownVisitingContext() before any code that has EL dependencies or else you will be in danger of encountering an infinite loop.
Overrides:
tearDownVisitingContext in class org.apache.myfaces.trinidad.component.UIXComponent

getViewId

public java.lang.String getViewId()
Gets the view ID.
Returns:
the view ID

getAttribute

@Deprecated
protected java.lang.Object getAttribute(java.lang.Object key)
Deprecated. This function should not be relied upon and will be removed in a future release.

setAttribute

@Deprecated
protected java.lang.Object setAttribute(java.lang.Object key,
                                                   java.lang.Object value)
Deprecated. This function should not be relied upon and will be removed in a future release.

createFacesBean

protected org.apache.myfaces.trinidad.bean.FacesBean createFacesBean(java.lang.String rendererType)
Overrides:
createFacesBean in class org.apache.myfaces.trinidad.component.UIXComponentBase

getVar

public final java.lang.String getVar()
Gets The EL variable name to used to access the attributes of the component. This is an internal attribute and should not be used. It is automatically managed by the definition tag in the included view.
Returns:
the new var value

setVar

public final void setVar(java.lang.String var)
Sets The EL variable name to used to access the attributes of the component. This is an internal attribute and should not be used. It is automatically managed by the definition tag in the included view.
Parameters:
var - the new var value

getComponentVar

public final java.lang.String getComponentVar()
Gets The EL variable name used to access the component. This is an internal attribute and should not be used. It is automatically managed by the definition tag in the included view.
Returns:
the new componentVar value

setComponentVar

public final void setComponentVar(java.lang.String componentVar)
Sets The EL variable name used to access the component. This is an internal attribute and should not be used. It is automatically managed by the definition tag in the included view.
Parameters:
componentVar - the new componentVar value

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class org.apache.myfaces.trinidad.component.UIXComponentBase

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class org.apache.myfaces.trinidad.component.UIXComponentBase

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-04


Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.