public class UnsecureSAXReaderUtil
extends Object
Constructor and Description |
---|
UnsecureSAXReaderUtil() |
Modifier and Type | Method and Description |
---|---|
static SAXReader |
getSAXReader() |
static Document |
read(File file) |
static Document |
read(File file,
boolean validate) |
static Document |
read(InputStream is) |
static Document |
read(InputStream is,
boolean validate) |
static Document |
read(Reader reader) |
static Document |
read(Reader reader,
boolean validate) |
static Document |
read(String xml) |
static Document |
read(String xml,
boolean validate) |
static Document |
read(String xml,
XMLSchema xmlSchema) |
static Document |
read(URL url) |
static Document |
read(URL url,
boolean validate) |
static Document |
readURL(String url) |
static Document |
readURL(String url,
boolean validate) |
void |
setSAXReader(SAXReader saxReader) |
public static SAXReader getSAXReader()
public static Document read(File file) throws DocumentException
DocumentException
public static Document read(File file, boolean validate) throws DocumentException
DocumentException
public static Document read(InputStream is) throws DocumentException
DocumentException
public static Document read(InputStream is, boolean validate) throws DocumentException
DocumentException
public static Document read(Reader reader) throws DocumentException
DocumentException
public static Document read(Reader reader, boolean validate) throws DocumentException
DocumentException
public static Document read(String xml) throws DocumentException
DocumentException
public static Document read(String xml, boolean validate) throws DocumentException
DocumentException
public static Document read(String xml, XMLSchema xmlSchema) throws DocumentException
DocumentException
public static Document read(URL url) throws DocumentException
DocumentException
public static Document read(URL url, boolean validate) throws DocumentException
DocumentException
public static Document readURL(String url) throws DocumentException, MalformedURLException
DocumentException
MalformedURLException
public static Document readURL(String url, boolean validate) throws DocumentException, MalformedURLException
DocumentException
MalformedURLException
public void setSAXReader(SAXReader saxReader)