kieker.webgui.web.converter
Class RoleStringConverter
java.lang.Object
kieker.webgui.web.converter.RoleStringConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter
public final class RoleStringConverter
- extends Object
- implements javax.faces.convert.Converter
This converter can convert between instances of String
and Role
. This is necessary in the JSF context.
- Author:
- Nils Christian Ehmke
Method Summary |
Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp,
String str)
|
String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp,
Object obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleStringConverter
public RoleStringConverter()
- Creates a new instance of this class. Do not use this constructor. This converter is JSF managed.
getAsObject
public Object getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp,
String str)
- Specified by:
getAsObject
in interface javax.faces.convert.Converter
getAsString
public String getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp,
Object obj)
- Specified by:
getAsString
in interface javax.faces.convert.Converter
Copyright © 2015. All rights reserved.