net.sf.crispy.impl.rest
Class Serializer

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

public class Serializer
extends java.lang.Object

Serialize complex object graph into a XML reprensation.

Author:
Linke

Constructor Summary
Serializer()
           
 
Method Summary
static java.lang.String serialize(java.lang.Object pvObject)
           
static void serializeHashtable(java.util.Hashtable pvHashtable, int id, int parentRef, java.lang.StringBuffer pvXmlStr)
           
static void serializeSimple(java.lang.Object pvValue, java.lang.Object pvKey, int parentRef, java.lang.StringBuffer pvXmlStr)
           
static void serializeVector(java.util.Vector pvVector, java.lang.Object pvKey, int id, int parentRef, java.lang.StringBuffer pvXmlStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serializer

public Serializer()
Method Detail

serialize

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

serializeHashtable

public static void serializeHashtable(java.util.Hashtable pvHashtable,
                                      int id,
                                      int parentRef,
                                      java.lang.StringBuffer pvXmlStr)

serializeVector

public static void serializeVector(java.util.Vector pvVector,
                                   java.lang.Object pvKey,
                                   int id,
                                   int parentRef,
                                   java.lang.StringBuffer pvXmlStr)

serializeSimple

public static void serializeSimple(java.lang.Object pvValue,
                                   java.lang.Object pvKey,
                                   int parentRef,
                                   java.lang.StringBuffer pvXmlStr)


Copyright © 2005-2006 Crispy. All Rights Reserved.