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