|
|||||||||
| 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_6.impl.OsmWriter
public class OsmWriter
Renders OSM data types as xml.
| Constructor Summary | |
|---|---|
OsmWriter(java.lang.String elementName,
int indentLevel,
boolean renderAttributes)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
begin()
Begins an element. |
void |
end()
Ends an element. |
void |
process(EntityContainer entityContainer)
Writes the element 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 OsmWriter(java.lang.String elementName,
int indentLevel,
boolean renderAttributes)
elementName - The name of the element to be written.indentLevel - The indent level of the element.renderAttributes - Specifies whether attributes of the top level element should
be rendered. This would typically be set to false if this
element is embedded within a higher level element (eg.
changesets)| Method Detail |
|---|
public void begin()
public void end()
public void process(EntityContainer entityContainer)
entityContainer - The container holding the entity.public void setWriter(java.io.Writer writer)
setWriter in class ElementWriterwriter - The writer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||