public class XMLPrettyPrinter extends AbstractPrettyPrinter
marked
Constructor and Description |
---|
XMLPrettyPrinter(Grammar g) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Grammar g) |
protected String |
escapeSymbol(String s)
Escapes special symbols
|
byte[] |
getUTF16() |
byte[] |
getUTF8() |
dk.brics.xact.XML |
getXML()
Returns an XML representation of the grammar
|
String |
print() |
copyEasyNames, getEasyName, getNextName
public XMLPrettyPrinter(Grammar g)
public void apply(Grammar g)
apply
in interface GrammarEntityVisitor
apply
in class AbstractGrammarEntityVisitor
protected String escapeSymbol(String s)
AbstractPrettyPrinter
escapeSymbol
in class AbstractPrettyPrinter
public byte[] getUTF16()
public byte[] getUTF8()
public dk.brics.xact.XML getXML()
public String print()
Copyright © 2008-2013 Mathias Schwarz.