public class Parse extends Object
| Constructor and Description |
|---|
Parse() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanCharacterData(String text)
Make sure that text is XML safe
|
static org.jdom2.Element |
readRootElement(String location)
Read an XML Document from a URL and return the root element.
|
public static org.jdom2.Element readRootElement(String location) throws IOException
location - the URL locationIOException - on read error