public class DOMParser extends Object
This parser should be used if the source xml being parsed has already been parsed into a
Document
. If not use one of Parser
or Parser
.
Constructor and Description |
---|
DOMParser(Configuration configuration,
Document document)
Creates a new instance of the parser.
|
Modifier and Type | Method and Description |
---|---|
Object |
parse()
Parses the supplied DOM returning a single object representing the result of the parse.
|
public DOMParser(Configuration configuration, Document document)
configuration
- Object representing the configuration of the parser.document
- An xml document.public Object parse() throws IOException, SAXException, ParserConfigurationException
IOException
SAXException
ParserConfigurationException
Copyright © 1996–2019 Geotools. All rights reserved.