com.sun.msv.writer.relaxng
Class Driver

java.lang.Object
  extended by com.sun.msv.writer.relaxng.Driver

public class Driver
extends Object

converts any supported languages into the equivalent RELAX NG grammar.

Author:
Kohsuke KAWAGUCHI

Constructor Summary
Driver()
           
 
Method Summary
static String localize(String prop)
           
static String localize(String prop, Object arg1)
           
static String localize(String propertyName, Object[] args)
           
static String localize(String prop, Object arg1, Object arg2)
           
static void main(String[] args)
           
static void writeGrammar(Grammar g, OutputStream out)
          Writes a grammar to the specified output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Driver

public Driver()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

writeGrammar

public static void writeGrammar(Grammar g,
                                OutputStream out)
                         throws SAXException
Writes a grammar to the specified output.

Throws:
SAXException

localize

public static String localize(String propertyName,
                              Object[] args)

localize

public static String localize(String prop)

localize

public static String localize(String prop,
                              Object arg1)

localize

public static String localize(String prop,
                              Object arg1,
                              Object arg2)


MSV