edu.nrao.sss.webapp.faces.component
Class AnchorUIComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
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.
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 |
AnchorUIComponent
public AnchorUIComponent()
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.