edu.nrao.sss.webapp.faces.component
Class AnchorUIComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by edu.nrao.sss.webapp.faces.component.AnchorUIComponent
All Implemented Interfaces:
StateHolder

public class AnchorUIComponent
extends UIComponentBase

This component renders an anchor tag with a name attribute, as opposed to the outputLink component that renders an anchor tag with an href attribute.


Constructor Summary
AnchorUIComponent()
           
 
Method Summary
 void encodeBegin(FacesContext context)
           
 String getFamily()
          This method is only important if you're developing your own component family.
 String getName()
           
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setName(String n)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, 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
 

Constructor Detail

AnchorUIComponent

public AnchorUIComponent()
Method Detail

encodeBegin

public void encodeBegin(FacesContext context)
                 throws IOException
Overrides:
encodeBegin in class UIComponentBase
Throws:
IOException

getFamily

public String getFamily()
This method is only important if you're developing your own component family. If not, you can return whatever.

Specified by:
getFamily in class UIComponent

getName

public String getName()

setName

public void setName(String n)

saveState

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

restoreState

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


Copyright © 2009. All Rights Reserved.