Changeset 7889 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-12-25T21:52:53+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java
r7248 r7889 271 271 } 272 272 273 /** 274 * Starts parsing from the given input reader, without validation. 275 * @param in The input reader 276 * @return iterable collection of objects 277 * @throws SAXException if any XML or I/O error occurs 278 */ 273 279 public Iterable<Object> start(final Reader in) throws SAXException { 274 280 try { … … 279 285 } 280 286 287 /** 288 * Starts parsing from the given input reader, with XSD validation. 289 * @param in The input reader 290 * @param namespace default namespace 291 * @param schemaSource XSD schema 292 * @return iterable collection of objects 293 * @throws SAXException if any XML or I/O error occurs 294 */ 281 295 public Iterable<Object> startWithValidation(final Reader in, String namespace, String schemaSource) throws SAXException { 282 296 SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Note:
See TracChangeset
for help on using the changeset viewer.