net.sf.crispy.impl.rest
Class ParameterSerializer

java.lang.Object
  extended bynet.sf.crispy.impl.rest.ParameterSerializer

public class ParameterSerializer
extends java.lang.Object


Field Summary
static java.lang.String ARRAY
           
static java.lang.String DELIMITTER
           
static java.lang.String LIST
           
static java.lang.String MAP
           
static java.lang.String MAPSIMPLE
           
static java.lang.String PARAM
           
 
Constructor Summary
ParameterSerializer()
           
 
Method Summary
 void printSortedMap(java.util.Map pvMap)
           
 java.lang.String serialize(java.lang.Object pvObject)
           
 void serializeList(java.util.List pvList, java.lang.String pvParentProperty, int pvId)
           
 void serializeMap(java.util.Map pvMap, java.lang.String pvParentProperty, int pvId)
           
 void serializeSimple(java.lang.String pvKey, java.lang.Object pvValue, int pvId)
           
 java.util.Map toSortedMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIMITTER

public static final java.lang.String DELIMITTER
See Also:
Constant Field Values

MAP

public static final java.lang.String MAP
See Also:
Constant Field Values

MAPSIMPLE

public static final java.lang.String MAPSIMPLE
See Also:
Constant Field Values

LIST

public static final java.lang.String LIST
See Also:
Constant Field Values

ARRAY

public static final java.lang.String ARRAY
See Also:
Constant Field Values

PARAM

public static final java.lang.String PARAM
See Also:
Constant Field Values
Constructor Detail

ParameterSerializer

public ParameterSerializer()
Method Detail

serialize

public java.lang.String serialize(java.lang.Object pvObject)
                           throws java.lang.Exception
Throws:
java.lang.Exception

serializeMap

public void serializeMap(java.util.Map pvMap,
                         java.lang.String pvParentProperty,
                         int pvId)

serializeList

public void serializeList(java.util.List pvList,
                          java.lang.String pvParentProperty,
                          int pvId)

serializeSimple

public void serializeSimple(java.lang.String pvKey,
                            java.lang.Object pvValue,
                            int pvId)

toSortedMap

public java.util.Map toSortedMap()

printSortedMap

public void printSortedMap(java.util.Map pvMap)


Copyright © 2005-2006 Crispy. All Rights Reserved.