|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.xml.v0_6.impl.FastXmlParser
public class FastXmlParser
Reads the contents of an osm file using a Stax parser.
Constructor Summary | |
---|---|
FastXmlParser(Sink sink,
javax.xml.stream.XMLStreamReader reader,
boolean enableDateParsing)
Creates a new instance. |
Method Summary | |
---|---|
void |
readOsm()
Parses the xml and sends all data to the sink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastXmlParser(Sink sink, javax.xml.stream.XMLStreamReader reader, boolean enableDateParsing)
sink
- The sink receiving all output data.reader
- The input xml reader.enableDateParsing
- If true, parsing of dates in the xml will be enabled,
otherwise the current system time will be used.Method Detail |
---|
public void readOsm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |