public class XMLUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getNodeValue(Element node)
This will get the text value of an element. 
 | 
static Document | 
parse(InputStream is)
This will parse an XML stream and create a DOM document. 
 | 
public static Document parse(InputStream is) throws IOException
is - The stream to get the XML from.IOException - It there is an error creating the dom.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.