public class DXMLPrinter extends Object
XMLStreamWriter.| Constructor and Description |
|---|
DXMLPrinter(XMLStreamWriter out) |
| Modifier and Type | Method and Description |
|---|---|
void |
print(DPattern pattern)
Prints XML fragment for the given pattern.
|
void |
print(NameClass nc)
Prints XML fragment for the given name class.
|
void |
print(Node node) |
void |
printDocument(DGrammarPattern grammar)
Prints grammar enclosed by start/end document.
|
public DXMLPrinter(XMLStreamWriter out)
out - Output stream.public void printDocument(DGrammarPattern grammar) throws XMLStreamException
grammar - XMLStreamExceptionpublic void print(DPattern pattern) throws XMLStreamException
XMLStreamExceptionpublic void print(NameClass nc) throws XMLStreamException
XMLStreamExceptionpublic void print(Node node) throws XMLStreamException
XMLStreamExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved