|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.relaxng.converter.PrettyPrinter
public class PrettyPrinter
Pretty printer for parsed RELAX NG grammars using compact syntax.
Constructor Summary | |
---|---|
PrettyPrinter(PrintStream out)
Constructs a new printer. |
|
PrettyPrinter(PrintWriter out)
Constructs a new printer. |
Method Summary | |
---|---|
void |
print(Grammar g)
Prints the given grammar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrettyPrinter(PrintStream out)
out
- print stream for output (using default character encoding)public PrettyPrinter(PrintWriter out)
out
- print writer for outputMethod Detail |
---|
public void print(Grammar g)
g
- gramar
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |