public class Xml extends Object
Xml
class represents a collection of XML utilities.Constructor and Description |
---|
Xml() |
Modifier and Type | Method and Description |
---|---|
static Document |
parse(InputStream input)
Parses the given input stream and returns it as an XML document object
model (DOM).
|
static Document |
parse(InputStream input,
boolean silent)
Parses the given input stream and returns it as an XML document object
model (DOM).
|
public static Document parse(InputStream input)
input
- The InputStream
to parse.public static Document parse(InputStream input, boolean silent)
input
- The InputStream
to parse.silent
- Suppress logging of parse errorsCopyright © 2022 Splunk, Inc.. All rights reserved.