Class BoundWriter
java.lang.Object
org.openstreetmap.osmosis.xml.common.ElementWriter
org.openstreetmap.osmosis.xml.v0_6.impl.BoundWriter
-
Constructor Summary
ConstructorsConstructorDescriptionBoundWriter(String elementName, int indentLevel, boolean legacyBound) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.openstreetmap.osmosis.core.domain.v0_6.Bound bound) Writes the bound.Methods inherited from class org.openstreetmap.osmosis.xml.common.ElementWriter
addAttribute, beginOpenElement, closeElement, endOpenElement, getTimestampFormat, setWriter
-
Constructor Details
-
BoundWriter
Creates a new instance.- Parameters:
elementName- The name of the element to be written.indentLevel- The indent level of the element.legacyBound- If true, write the legacy <bound> element instead of the correct <bounds> one.
-
-
Method Details
-
process
public void process(org.openstreetmap.osmosis.core.domain.v0_6.Bound bound) Writes the bound.- Parameters:
bound- The bound to be processed.
-