rewrite-showcase-rest 2.0.0.Beta2

org.ocpsoft.rewrite.showcase.rest
Class XMLUtil

java.lang.Object
  extended by org.ocpsoft.rewrite.showcase.rest.XMLUtil

public class XMLUtil
extends Object

Author:
Lincoln Baxter, III

Constructor Summary
XMLUtil()
           
 
Method Summary
static
<T> void
streamFromObject(Class<T> type, T object, ServletOutputStream outputStream)
           
static
<T> T
streamToObject(Class<T> type, ServletInputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtil

public XMLUtil()
Method Detail

streamFromObject

public static <T> void streamFromObject(Class<T> type,
                                        T object,
                                        ServletOutputStream outputStream)

streamToObject

public static <T> T streamToObject(Class<T> type,
                                   ServletInputStream inputStream)

rewrite-showcase-rest 2.0.0.Beta2

Copyright © 2013 OCPsoft. All Rights Reserved.