Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.component
Class UIRepeat  view UIRepeat download UIRepeat.java

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended bycom.sun.facelets.component.UIRepeat
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class UIRepeat
extends javax.faces.component.UIComponentBase
implements javax.faces.component.NamingContainer


Nested Class Summary
private  class UIRepeat.IndexedEvent
           
private static class UIRepeat.SavedState
           
 
Field Summary
private  java.lang.StringBuffer buffer
           
private  java.util.Map childState
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
private static javax.faces.model.DataModel EMPTY_MODEL
           
private  int index
           
private  javax.faces.model.DataModel model
           
private static UIRepeat.SavedState NullState
           
private  int offset
           
private  java.lang.Object origValue
           
private  int size
           
private  java.lang.Object value
           
private  java.lang.String var
           
private  java.lang.String varStatus
           
 
Fields inherited from class javax.faces.component.UIComponentBase
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UIRepeat()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
private  void captureOrigValue()
           
 void encodeChildren(javax.faces.context.FacesContext faces)
           
private  java.lang.StringBuffer getBuffer()
           
private  java.util.Map getChildState()
           
 java.lang.String getClientId(javax.faces.context.FacesContext faces)
           
private  javax.faces.model.DataModel getDataModel()
           
 java.lang.String getFamily()
           
 int getOffset()
           
 boolean getRendersChildren()
           
 int getSize()
           
 java.lang.Object getValue()
           
 java.lang.String getVar()
           
private  boolean isIndexAvailable()
           
private  boolean isNestedInIterator()
           
private  boolean keepSaved(javax.faces.context.FacesContext context)
           
 void process(javax.faces.context.FacesContext faces, javax.faces.event.PhaseId phase)
           
 void processDecodes(javax.faces.context.FacesContext faces)
           
 void processUpdates(javax.faces.context.FacesContext faces)
           
 void processValidators(javax.faces.context.FacesContext faces)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
private  void resetDataModel()
           
private  void restoreChildState()
           
private  void restoreChildState(javax.faces.context.FacesContext faces, javax.faces.component.UIComponent c)
           
private  void restoreOrigValue()
           
 void restoreState(javax.faces.context.FacesContext faces, java.lang.Object object)
           
private  void saveChildState()
           
private  void saveChildState(javax.faces.context.FacesContext faces, javax.faces.component.UIComponent c)
           
 java.lang.Object saveState(javax.faces.context.FacesContext faces)
           
private  void setDataModel(javax.faces.model.DataModel model)
           
private  void setIndex(int index)
           
 void setOffset(int offset)
           
 void setSize(int size)
           
 void setValue(java.lang.Object value)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

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

COMPONENT_FAMILY

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

EMPTY_MODEL

private static final javax.faces.model.DataModel EMPTY_MODEL

value

private java.lang.Object value

model

private transient javax.faces.model.DataModel model

var

private java.lang.String var

varStatus

private java.lang.String varStatus

index

private int index

offset

private int offset

size

private int size

buffer

private transient java.lang.StringBuffer buffer

origValue

private transient java.lang.Object origValue

childState

private java.util.Map childState

NullState

private static final UIRepeat.SavedState NullState
Constructor Detail

UIRepeat

public UIRepeat()
Method Detail

getFamily

public java.lang.String getFamily()

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getSize

public int getSize()

setSize

public void setSize(int size)

getVar

public java.lang.String getVar()

setVar

public void setVar(java.lang.String var)

resetDataModel

private void resetDataModel()

setDataModel

private void setDataModel(javax.faces.model.DataModel model)

getDataModel

private javax.faces.model.DataModel getDataModel()

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

getBuffer

private java.lang.StringBuffer getBuffer()

getClientId

public java.lang.String getClientId(javax.faces.context.FacesContext faces)

captureOrigValue

private void captureOrigValue()

restoreOrigValue

private void restoreOrigValue()

getChildState

private java.util.Map getChildState()

saveChildState

private void saveChildState()

saveChildState

private void saveChildState(javax.faces.context.FacesContext faces,
                            javax.faces.component.UIComponent c)

restoreChildState

private void restoreChildState()

restoreChildState

private void restoreChildState(javax.faces.context.FacesContext faces,
                               javax.faces.component.UIComponent c)

keepSaved

private boolean keepSaved(javax.faces.context.FacesContext context)

isNestedInIterator

private boolean isNestedInIterator()

setIndex

private void setIndex(int index)

isIndexAvailable

private boolean isIndexAvailable()

process

public void process(javax.faces.context.FacesContext faces,
                    javax.faces.event.PhaseId phase)

processDecodes

public void processDecodes(javax.faces.context.FacesContext faces)

processUpdates

public void processUpdates(javax.faces.context.FacesContext faces)

processValidators

public void processValidators(javax.faces.context.FacesContext faces)

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)

restoreState

public void restoreState(javax.faces.context.FacesContext faces,
                         java.lang.Object object)
Specified by:
restoreState in interface javax.faces.component.StateHolder

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext faces)
Specified by:
saveState in interface javax.faces.component.StateHolder

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext faces)
                    throws java.io.IOException

getRendersChildren

public boolean getRendersChildren()