XMLStreamWriter.
| Modifier and Type | Class and Description |
|---|---|
| protected class | |
| protected class | |
| protected class | |
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected DOMPrinter | |
| protected int | |
| protected String | |
| protected DXMLPrinter. | |
| protected String | |
| protected XMLStreamWriter | |
| protected DXMLPrinter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public void | |
| public void | |
| public void | |
| public void |
| afterEnd | back to summary |
|---|---|
| protected boolean afterEnd | |
| domPrinter | back to summary |
|---|---|
| protected DOMPrinter domPrinter | |
| indent | back to summary |
|---|---|
| protected int indent | |
| indentStep | back to summary |
|---|---|
| protected String indentStep | |
| ncVisitor | back to summary |
|---|---|
| protected DXMLPrinter. | |
| newLine | back to summary |
|---|---|
| protected String newLine | |
| out | back to summary |
|---|---|
| protected XMLStreamWriter out | |
| visitor | back to summary |
|---|---|
| protected DXMLPrinter. | |
| DXMLPrinter | back to summary |
|---|---|
public DXMLPrinter(XMLStreamWriter out)
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception | |
| back to summary | |
|---|---|
| public void print(DPattern pattern) throws XMLStreamException Prints XML fragment for the given pattern. | |
| back to summary | |
|---|---|
| public void print(NameClass nc) throws XMLStreamException Prints XML fragment for the given name class. | |
| back to summary | |
|---|---|
| public void print(Node node) throws XMLStreamException | |
| printDocument | back to summary |
|---|---|
| public void printDocument(DGrammarPattern grammar) throws XMLStreamException Prints grammar enclosed by start/end document. | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| public Void | |
| protected void | |
| protected void |
| DXMLPrinterVisitor | back to summary |
|---|---|
| protected DXMLPrinterVisitor() | |
| on | back to summary |
|---|---|
| protected void on(DPattern p) | |
| on | back to summary |
|---|---|
| protected void on(NameClass nc) | |
| on | back to summary |
|---|---|
| protected void on(DAnnotation ann) | |
| onAttribute | back to summary |
|---|---|
| public Void onAttribute(DAttributePattern p) Implements com. | |
| onChoice | back to summary |
|---|---|
| public Void onChoice(DChoicePattern p) Implements com. | |
| onData | back to summary |
|---|---|
| public Void onData(DDataPattern p) Implements com. | |
| onElement | back to summary |
|---|---|
| public Void onElement(DElementPattern p) Implements com. | |
| onEmpty | back to summary |
|---|---|
| public Void onEmpty(DEmptyPattern p) Implements com. | |
| onGrammar | back to summary |
|---|---|
| public Void onGrammar(DGrammarPattern p) Implements com. | |
| onGroup | back to summary |
|---|---|
| public Void onGroup(DGroupPattern p) Implements com. | |
| onInterleave | back to summary |
|---|---|
| public Void onInterleave(DInterleavePattern p) Implements com. | |
| onList | back to summary |
|---|---|
| public Void onList(DListPattern p) Implements com. | |
| onMixed | back to summary |
|---|---|
| public Void onMixed(DMixedPattern p) Implements com. | |
| onNotAllowed | back to summary |
|---|---|
| public Void onNotAllowed(DNotAllowedPattern p) Implements com. | |
| onOneOrMore | back to summary |
|---|---|
| public Void onOneOrMore(DOneOrMorePattern p) Implements com. | |
| onOptional | back to summary |
|---|---|
| public Void onOptional(DOptionalPattern p) Implements com. | |
| onRef | back to summary |
|---|---|
| public Void onRef(DRefPattern p) Implements com. | |
| onText | back to summary |
|---|---|
| public Void onText(DTextPattern p) Implements com. | |
| onValue | back to summary |
|---|---|
| public Void onValue(DValuePattern p) Implements com. | |
| onZeroOrMore | back to summary |
|---|---|
| public Void onZeroOrMore(DZeroOrMorePattern p) Implements com. | |
| unwrapChoice | back to summary |
|---|---|
| protected void unwrapChoice(DPattern p) | |
| unwrapGroup | back to summary |
|---|---|
| protected void unwrapGroup(DPattern p) | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Void | visitAnyName()
Implements com. Called for |
| public Void | visitAnyNameExcept(NameClass nc)
Implements com. Called for |
| public Void | visitChoice(NameClass nc1, NameClass nc2)
Implements com. Called for |
| public Void | visitName(QName name)
Implements com. Called for |
| public Void | visitNsName(String ns)
Implements com. Called for |
| public Void | visitNsNameExcept(String ns, NameClass nc)
Implements com. Called for |
| public Void |
| NameClassXMLPrinterVisitor | back to summary |
|---|---|
| protected NameClassXMLPrinterVisitor() | |
| visitAnyName | back to summary |
|---|---|
| public Void visitAnyName() Implements com. Doc from com. Called for | |
| visitAnyNameExcept | back to summary |
|---|---|
| public Void visitAnyNameExcept(NameClass nc) Implements com. Doc from com. Called for | |
| visitChoice | back to summary |
|---|---|
| public Void visitChoice(NameClass nc1, NameClass nc2) Implements com. Doc from com. Called for | |
| visitName | back to summary |
|---|---|
| public Void visitName(QName name) Implements com. Doc from com. Called for | |
| visitNsName | back to summary |
|---|---|
| public Void visitNsName(String ns) Implements com. Doc from com. Called for | |
| visitNsNameExcept | back to summary |
|---|---|
| public Void visitNsNameExcept(String ns, NameClass nc) Implements com. Doc from com. Called for | |
| visitNull | back to summary |
|---|---|
| public Void visitNull() Implements com. Doc from com. Called for | |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| protected void | |
| public void | |
| public final void | |
| public void |
| XMLWriter | back to summary |
|---|---|
| protected XMLWriter() | |
| attr | back to summary |
|---|---|
| public void attr(String prefix, String ns, String name, String value) | |
| attr | back to summary |
|---|---|
| public void attr(String name, String value) | |
| body | back to summary |
|---|---|
| public void body(String text) | |
| end | back to summary |
|---|---|
| public void end() | |
| endDocument | back to summary |
|---|---|
| public void endDocument() | |
| indent | back to summary |
|---|---|
| protected void indent() | |
| newLine | back to summary |
|---|---|
| protected void newLine() | |
| ns | back to summary |
|---|---|
| public void ns(String prefix, String uri) | |
| start | back to summary |
|---|---|
| public final void start(String element) | |
| startDocument | back to summary |
|---|---|
| public void startDocument() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| XMLWriterException | back to summary |
|---|---|
| protected XMLWriterException(Throwable cause) | |