org.apache.myfaces.convert
Class StringArrayConverter

java.lang.Object
  extended by org.apache.myfaces.convert.StringArrayConverter
All Implemented Interfaces:
javax.faces.convert.Converter

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

Version:
$Revision: 472630 $ $Date: 2006-11-08 15:40:03 -0500 (Wed, 08 Nov 2006) $
Author:
Thomas Spiegl (latest modification by $Author: grantsmith $)

Constructor Summary
StringArrayConverter()
           
 
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)
           
static String getAsString(String[] strings, boolean escapeCommas)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringArrayConverter

public StringArrayConverter()
Method Detail

getAsObject

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

getAsString

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

getAsString

public static String getAsString(String[] strings,
                                 boolean escapeCommas)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.