net.sourceforge.smile.renderkit
Class HyperlinkRenderer
java.lang.Object
javax.faces.render.Renderer
net.sourceforge.smile.renderkit.GenericHtmlRenderer
net.sourceforge.smile.renderkit.HyperlinkRenderer
- All Implemented Interfaces:
- Attributes, RendererAttributes
- public class HyperlinkRenderer
- extends GenericHtmlRenderer
- implements RendererAttributes
The 'Hyperlink' Renderer as described in the specs JSF7.4.1.
Fields inherited from interface net.sourceforge.smile.renderkit.RendererAttributes |
ATTR_BUNDLE, ATTR_COLUMN_CLASSES, ATTR_COLUMNS, ATTR_COMMAND_CLASS, ATTR_CONVERTER, ATTR_DATE_STYLE, ATTR_FOOTER_CLASS, ATTR_FOR, ATTR_FORMAT_PATTERN, ATTR_HEADER_CLASS, ATTR_HREF, ATTR_INPUT_CLASS, ATTR_KEY, ATTR_LABEL, ATTR_LAYOUT, ATTR_NUMBER_STYLE, ATTR_OUTPUT_CLASS, ATTR_REDISPLAY, ATTR_ROW_CLASSES, ATTR_SELECT_BOOLEAN_CLASS, ATTR_SIZE, ATTR_SRC, ATTR_TIME_STYLE, ATTR_TIMEZONE, ATTR_TYPE, ATTR_VAR |
Fields inherited from interface net.sourceforge.smile.component.Attributes |
ATTR_CLIENT_ID, ATTR_COMPONENT_ID, ATTR_COMPONENT_TYPE, ATTR_CONVERTER, ATTR_MODEL_REFERENCE, ATTR_PARENT, ATTR_RENDERED, ATTR_RENDERER_TYPE, ATTR_RENDERS_CHILDREN, ATTR_RENDERS_SELF, ATTR_VALID, ATTR_VALUE, ATTR_VALUEREF |
Method Summary |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
The decode |
void |
encodeBegin(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component)
When a href is present, render the component as a link that can point to an external location.
|
void |
encodeChildren(javax.faces.context.FacesContext arg0,
javax.faces.component.UIComponent arg1)
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HyperlinkRenderer
public HyperlinkRenderer()
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- The decode
- Throws:
java.io.IOException
- See Also:
Renderer.decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component)
throws java.io.IOException
- When a href is present, render the component as a link that can point to an external location.
When no href is present and it's iside a UIForm component, the form should be submitted, to enable other
components within the form to update their state.
- Throws:
java.io.IOException
- See Also:
Renderer.encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext arg0,
javax.faces.component.UIComponent arg1)
throws java.io.IOException
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Renderer.encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)