|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.JRXmlUtils
public final class JRXmlUtils
XML parsing utilities.
| Method Summary | |
|---|---|
static Document |
createDocument(Node sourceNode)
Creates a document having a node as root. |
static DocumentBuilder |
createDocumentBuilder()
Creates a XML document builder. |
static Document |
parse(File file)
Parses a file into a document. |
static Document |
parse(InputSource is)
Parses an input source into a document. |
static Document |
parse(InputStream is)
Parses an input stream into a XML document. |
static Document |
parse(String uri)
Parses a document specified by an URI. |
static Document |
parse(URL url)
Parses an URL stream as a XML document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Document parse(InputSource is)
throws JRException
is - the input source
JRException
public static Document parse(String uri)
throws JRException
uri - the URI
JRException
public static Document parse(File file)
throws JRException
file - the XML file
JRException
public static Document parse(InputStream is)
throws JRException
is - the input stream
JRException
public static Document parse(URL url)
throws JRException
url - the URL
JRException
public static DocumentBuilder createDocumentBuilder()
throws JRException
JRException
public static Document createDocument(Node sourceNode)
throws JRException
sourceNode - the node
JRException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||