diva.sketch.parser2d
Class Grammar2dWriter

java.lang.Object
  |
  +--diva.sketch.parser2d.Grammar2dWriter

public class Grammar2dWriter
extends java.lang.Object

Write out a set of rules into an XML file.

Version:
$Revision: 1.1 $

Constructor Summary
Grammar2dWriter()
           
 
Method Summary
 void write(BasicRule[] grammar, java.lang.String url)
          Write the given grammar out to the given url.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grammar2dWriter

public Grammar2dWriter()
Method Detail

write

public void write(BasicRule[] grammar,
                  java.lang.String url)
           throws java.lang.Exception
Write the given grammar out to the given url. Throw an exception if there are problems writing the grammar.