|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.xml.common.BaseXmlWriter
org.openstreetmap.osmosis.core.xml.v0_6.XmlChangeWriter
public class XmlChangeWriter
An OSM change sink for storing all data to an xml file.
Constructor Summary | |
---|---|
XmlChangeWriter(java.io.File file,
CompressionMethod compressionMethod)
Creates a new instance. |
Method Summary | |
---|---|
protected void |
beginElementWriter()
Calls the begin method of the element writer used for this implementation. |
protected void |
endElementWriter()
Calls the end method of the element writer used for this implementation. |
void |
process(ChangeContainer changeContainer)
Process the change. |
protected void |
setWriterOnElementWriter(java.io.BufferedWriter writer)
Sets the writer on the element writer used for this implementation. |
Methods inherited from class org.openstreetmap.osmosis.core.xml.common.BaseXmlWriter |
---|
complete, initialize, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openstreetmap.osmosis.core.lifecycle.Completable |
---|
complete |
Methods inherited from interface org.openstreetmap.osmosis.core.lifecycle.Releasable |
---|
release |
Constructor Detail |
---|
public XmlChangeWriter(java.io.File file, CompressionMethod compressionMethod)
file
- The file to write.compressionMethod
- Specifies the compression method to employ.Method Detail |
---|
public void process(ChangeContainer changeContainer)
process
in interface ChangeSink
changeContainer
- The change to be processed.protected void beginElementWriter()
beginElementWriter
in class BaseXmlWriter
protected void endElementWriter()
endElementWriter
in class BaseXmlWriter
protected void setWriterOnElementWriter(java.io.BufferedWriter writer)
setWriterOnElementWriter
in class BaseXmlWriter
writer
- The writer receiving xml data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |