net.sf.oxclient.communication.json
Class SimpleJSONMapper

java.lang.Object
  extended by net.sf.oxclient.communication.json.SimpleJSONMapper
All Implemented Interfaces:
IJSONMapper

@Guarded
public class SimpleJSONMapper
extends Object
implements IJSONMapper


Constructor Summary
SimpleJSONMapper(IBeanFactory beanFactory, IBeanHelper beanHelper, Properties oxColumns)
           
SimpleJSONMapper(IBeanFactory beanFactory, Map<Integer,String> oxColumns, IBeanHelper beanHelper)
           
 
Method Summary
<T> T
convert(Class<T> element, String s, Map<Integer,String> columns)
           
<T> List<T>
convertList(Class<T> elementClazz, String s, List<String> columns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleJSONMapper

public SimpleJSONMapper(IBeanFactory beanFactory,
                        Map<Integer,String> oxColumns,
                        IBeanHelper beanHelper)

SimpleJSONMapper

public SimpleJSONMapper(IBeanFactory beanFactory,
                        IBeanHelper beanHelper,
                        Properties oxColumns)
Method Detail

convert

public <T> T convert(@NotNull
                     Class<T> element,
                     @NotNull@NotEmpty
                     String s,
                     @NotNull@NotEmpty
                     Map<Integer,String> columns)
Specified by:
convert in interface IJSONMapper

convertList

public <T> List<T> convertList(@NotNull
                               Class<T> elementClazz,
                               @NotNull@NotEmpty
                               String s,
                               @NotNull@NotEmpty
                               List<String> columns)
Specified by:
convertList in interface IJSONMapper


Copyright © 2007. All Rights Reserved.