uk.me.parabola.mkgmap.osmstyle
Class StylePrinter

java.lang.Object
  extended by uk.me.parabola.mkgmap.osmstyle.StylePrinter

public class StylePrinter
extends java.lang.Object

Class for printing out a style. Code extracted from StyleImpl, but still needs information from the implementation of the style.


Constructor Summary
StylePrinter(Style style)
           
 
Method Summary
 void dumpToFile(java.io.Writer out)
          Writes out this file to the given writer in the single file format.
 void setRelations(RuleSet relations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylePrinter

public StylePrinter(Style style)
Method Detail

dumpToFile

public void dumpToFile(java.io.Writer out)
Writes out this file to the given writer in the single file format. This produces a valid style file, although it is mostly used for testing.


setRelations

public void setRelations(RuleSet relations)