public class HtmlTagConverter extends Object implements javax.faces.convert.Converter
| Constructor and Description |
|---|
HtmlTagConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsObject(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
String name)
Converts the name of an HtmlTag to an actual HtmlTag.
|
String |
getAsString(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object htmlTag)
Converts the supplied htmlTag to a String.
|
public Object getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, String name)
getAsObject in interface javax.faces.convert.ConverterfacesContext - Faces Context.uiComponent - The UI component.name - The name of the HtmlTag.public String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object htmlTag)
getAsString in interface javax.faces.convert.ConverterfacesContext - Faces Context.uiComponent - The UI component.htmlTag - The HtmlTag.Copyright © 2008–2018. All rights reserved.