Class ThemeConverter

java.lang.Object
org.apache.myfaces.tobago.convert.ThemeConverter
All Implemented Interfaces:
javax.faces.convert.Converter<Theme>

public class ThemeConverter extends Object implements javax.faces.convert.Converter<Theme>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     

    Fields inherited from interface javax.faces.convert.Converter

    DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getAsObject​(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string)
     
    getAsString​(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Theme theme)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ThemeConverter

      public ThemeConverter()
  • Method Details

    • getAsString

      public String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Theme theme) throws javax.faces.convert.ConverterException
      Specified by:
      getAsString in interface javax.faces.convert.Converter<Theme>
      Throws:
      javax.faces.convert.ConverterException
    • getAsObject

      public Theme getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String string) throws javax.faces.convert.ConverterException
      Specified by:
      getAsObject in interface javax.faces.convert.Converter<Theme>
      Throws:
      javax.faces.convert.ConverterException