Package org.openstreetmap.josm.io
Interface OsmServerReader.DomParser<R>
-
- Type Parameters:
R
- resulting type
- Enclosing class:
- OsmServerReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface OsmServerReader.DomParser<R>
DOM document parser.- Since:
- 12510
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
parse(org.w3c.dom.Document doc)
Parses a given DOM document.
-
-
-
Method Detail
-
parse
R parse(org.w3c.dom.Document doc) throws XmlParsingException
Parses a given DOM document.- Parameters:
doc
- DOM document- Returns:
- parsed data
- Throws:
XmlParsingException
- if an XML parsing error occurs
-
-