Liferay 6.2-ce-ga5

com.liferay.portal.kernel.xml
Class UnsecureSAXReaderUtil

java.lang.Object
  extended by com.liferay.portal.kernel.xml.UnsecureSAXReaderUtil

public class UnsecureSAXReaderUtil
extends Object


Constructor Summary
UnsecureSAXReaderUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsecureSAXReaderUtil

public UnsecureSAXReaderUtil()
Method Detail

getSAXReader

public static SAXReader getSAXReader()

read

public static Document read(File file)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(File file,
                            boolean validate)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(InputStream is)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(InputStream is,
                            boolean validate)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(Reader reader)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(Reader reader,
                            boolean validate)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(String xml)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(String xml,
                            boolean validate)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(String xml,
                            XMLSchema xmlSchema)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(URL url)
                     throws DocumentException
Throws:
DocumentException

read

public static Document read(URL url,
                            boolean validate)
                     throws DocumentException
Throws:
DocumentException

readURL

public static Document readURL(String url)
                        throws DocumentException,
                               MalformedURLException
Throws:
DocumentException
MalformedURLException

readURL

public static Document readURL(String url,
                               boolean validate)
                        throws DocumentException,
                               MalformedURLException
Throws:
DocumentException
MalformedURLException

setSAXReader

public void setSAXReader(SAXReader saxReader)

Liferay 6.2-ce-ga5