public class Xml
extends java.lang.Object
Xml
class represents a collection of XML utilities.Constructor and Description |
---|
Xml() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Document |
parse(java.io.InputStream input)
Parses the given input stream and returns it as an XML document object
model (DOM).
|
static org.w3c.dom.Document |
parse(java.io.InputStream input,
boolean silent)
Parses the given input stream and returns it as an XML document object
model (DOM).
|
public static org.w3c.dom.Document parse(java.io.InputStream input)
input
- The InputStream
to parse.public static org.w3c.dom.Document parse(java.io.InputStream input, boolean silent)
input
- The InputStream
to parse.silent
- Suppress logging of parse errors