Class NodeWriter


public class NodeWriter extends EntityWriter
Renders a node as xml.
  • Constructor Details

    • NodeWriter

      public NodeWriter(String elementName, int indentLevel)
      Creates a new instance.
      Parameters:
      elementName - The name of the element to be written.
      indentLevel - The indent level of the element.
  • Method Details

    • process

      public void process(org.openstreetmap.osmosis.core.domain.v0_6.Node node)
      Writes the node.
      Parameters:
      node - The node to be processed.
    • setWriter

      public void setWriter(Writer writer)
      Sets the writer used as the xml output destination.
      Overrides:
      setWriter in class ElementWriter
      Parameters:
      writer - The writer.