public class XMLUtils extends Object
Constructor and Description |
---|
XMLUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
ElementToStream(org.w3c.dom.Element element,
OutputStream out) |
static org.xml.sax.InputSource |
getInputSourceFromURI(String uri)
Utility to get the bytes uri.
|
static String |
PrettyDocumentToString(org.w3c.dom.Document doc) |
static org.xml.sax.InputSource |
sourceToInputSource(javax.xml.transform.Source source)
Utility to get the bytes uri
|
public static String PrettyDocumentToString(org.w3c.dom.Document doc)
public static void ElementToStream(org.w3c.dom.Element element, OutputStream out)
public static org.xml.sax.InputSource sourceToInputSource(javax.xml.transform.Source source)
source
- the resource to getpublic static org.xml.sax.InputSource getInputSourceFromURI(String uri)
uri
- the resource to getCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.