play.libs
Class XML

java.lang.Object
  extended by play.libs.XML

public class XML
extends java.lang.Object

XML utilities.


Constructor Summary
XML()
           
 
Method Summary
static org.w3c.dom.Document fromInputStream(java.io.InputStream in, java.lang.String encoding)
          Parse an InputStream as DOM.
static org.w3c.dom.Document fromString(java.lang.String xml)
          Parse an XML string as DOM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML

public XML()
Method Detail

fromString

public static org.w3c.dom.Document fromString(java.lang.String xml)
Parse an XML string as DOM.


fromInputStream

public static org.w3c.dom.Document fromInputStream(java.io.InputStream in,
                                                   java.lang.String encoding)
Parse an InputStream as DOM.