org.dasein.persist.xml
Class XMLWriter<C>

java.lang.Object
  extended by org.dasein.persist.xml.XMLWriter<C>

public class XMLWriter<C>
extends Object


Constructor Summary
XMLWriter()
           
 
Method Summary
static String getElement(Class<?> type)
           
static void main(String... args)
           
 void write(PrintWriter output, C target)
           
 void write(PrintWriter output, C target, BodyAppender<C> appender)
           
 void write(PrintWriter output, C target, String id)
           
 void write(PrintWriter output, C target, String id, BodyAppender<C> appender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriter

public XMLWriter()
Method Detail

getElement

public static String getElement(Class<?> type)

write

public void write(PrintWriter output,
                  C target)
           throws IOException
Throws:
IOException

write

public void write(PrintWriter output,
                  C target,
                  BodyAppender<C> appender)
           throws IOException
Throws:
IOException

write

public void write(PrintWriter output,
                  C target,
                  String id)
           throws IOException
Throws:
IOException

write

public void write(PrintWriter output,
                  C target,
                  String id,
                  BodyAppender<C> appender)
           throws IOException
Throws:
IOException

main

public static void main(String... args)
                 throws Exception
Throws:
Exception


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.