org.rhq.enterprise.gui.common.time.converter
Class LongDurationConverter

java.lang.Object
  extended by org.rhq.enterprise.gui.common.time.converter.LongDurationConverter
All Implemented Interfaces:
javax.faces.convert.Converter

public class LongDurationConverter
extends Object
implements javax.faces.convert.Converter

Author:
Greg Hinkle

Constructor Summary
LongDurationConverter()
           
 
Method Summary
 Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
           
 String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongDurationConverter

public LongDurationConverter()
Method Detail

getAsObject

public Object getAsObject(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component,
                          String value)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

public String getAsString(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component,
                          Object value)
Specified by:
getAsString in interface javax.faces.convert.Converter


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.