org.objectweb.telosys.common.vo
Class GenericVOListWriter

java.lang.Object
  extended byorg.objectweb.telosys.common.vo.GenericVOListWriter

public class GenericVOListWriter
extends java.lang.Object


Constructor Summary
GenericVOListWriter()
           
 
Method Summary
static void toXml(java.io.PrintWriter out, GenericVOList volist, java.lang.String pListTagName)
          Generates the XML tag for the given VOList ( "item" is used as tag name for each entity of the list )
static void toXml(java.io.PrintWriter out, GenericVOList volist, java.lang.String pListTagName, java.lang.String pElementTagName)
          Generates the XML tag for the given VOList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericVOListWriter

public GenericVOListWriter()
Method Detail

toXml

public static void toXml(java.io.PrintWriter out,
                         GenericVOList volist,
                         java.lang.String pListTagName)
Generates the XML tag for the given VOList ( "item" is used as tag name for each entity of the list )

Parameters:
out -
volist - the VOList to write in XML
pListTagName - the tag name of the list ( "list" if null )

toXml

public static void toXml(java.io.PrintWriter out,
                         GenericVOList volist,
                         java.lang.String pListTagName,
                         java.lang.String pElementTagName)
Generates the XML tag for the given VOList

Parameters:
out -
volist - the VOList to write in XML
pListTagName - the tag name of the list ( "list" if null )
pElementTagName - the tag name of each entity ( "item" if null )