|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.xml.common.ElementWriter
org.openstreetmap.osmosis.core.xml.v0_5.impl.OsmChangeWriter
public class OsmChangeWriter
Renders OSM changes as xml.
Constructor Summary | |
---|---|
OsmChangeWriter(java.lang.String elementName,
int indentLevel)
Creates a new instance. |
Method Summary | |
---|---|
void |
begin()
Begins an element. |
void |
end()
Ends an element. |
void |
process(ChangeContainer changeContainer)
Writes the change in the container. |
void |
setWriter(java.io.Writer writer)
Sets the writer used as the xml output destination. |
Methods inherited from class org.openstreetmap.osmosis.core.xml.common.ElementWriter |
---|
addAttribute, beginOpenElement, closeElement, endOpenElement, getTimestampFormat |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OsmChangeWriter(java.lang.String elementName, int indentLevel)
elementName
- The name of the element to be written.indentLevel
- The indent level of the element.Method Detail |
---|
public void setWriter(java.io.Writer writer)
setWriter
in class ElementWriter
writer
- The writer.public void begin()
public void end()
public void process(ChangeContainer changeContainer)
changeContainer
- The container holding the change.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |