|
|||||||||
| 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.NodeWriter
public class NodeWriter
Renders a node as xml.
| Constructor Summary | |
|---|---|
NodeWriter(java.lang.String elementName,
int indentLevel)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
process(Node node)
Writes the node. |
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 NodeWriter(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 process(Node node)
node - The node to be processed.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 | ||||||||