Java Code Examples for com.sun.xml.internal.rngom.nc.NameClass#accept()
The following examples show how to use
com.sun.xml.internal.rngom.nc.NameClass#accept() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DXMLPrinter.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public Void visitChoice(NameClass nc1, NameClass nc2) { // TODO: flatten nested choices start("choice"); nc1.accept(this); nc2.accept(this); end(); return null; }
Example 2
Source File: DXMLPrinter.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 3
Source File: DXMLPrinter.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public Void visitChoice(NameClass nc1, NameClass nc2) { // TODO: flatten nested choices start("choice"); nc1.accept(this); nc2.accept(this); end(); return null; }
Example 4
Source File: DXMLPrinter.java From hottub with GNU General Public License v2.0 | 5 votes |
public Void visitChoice(NameClass nc1, NameClass nc2) { // TODO: flatten nested choices start("choice"); nc1.accept(this); nc2.accept(this); end(); return null; }
Example 5
Source File: DXMLPrinter.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }
Example 6
Source File: DXMLPrinter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 7
Source File: DXMLPrinter.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public Void visitNsNameExcept(String ns, NameClass nc) { start("nsName"); attr("ns", ns); start("except"); nc.accept(this); end(); end(); return null; }
Example 8
Source File: DXMLPrinter.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 9
Source File: DXMLPrinter.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }
Example 10
Source File: DXMLPrinter.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 11
Source File: DXMLPrinter.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }
Example 12
Source File: DXMLPrinter.java From hottub with GNU General Public License v2.0 | 5 votes |
public Void visitNsNameExcept(String ns, NameClass nc) { start("nsName"); attr("ns", ns); start("except"); nc.accept(this); end(); end(); return null; }
Example 13
Source File: DXMLPrinter.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 14
Source File: DXMLPrinter.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 15
Source File: DXMLPrinter.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Void visitNsNameExcept(String ns, NameClass nc) { start("nsName"); attr("ns", ns); start("except"); nc.accept(this); end(); end(); return null; }
Example 16
Source File: DXMLPrinter.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Void visitChoice(NameClass nc1, NameClass nc2) { // TODO: flatten nested choices start("choice"); nc1.accept(this); nc2.accept(this); end(); return null; }
Example 17
Source File: DXMLPrinter.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }
Example 18
Source File: DXMLPrinter.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public Void visitAnyNameExcept(NameClass nc) { start("anyName"); start("except"); nc.accept(this); end(); end(); return null; }
Example 19
Source File: DXMLPrinter.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }
Example 20
Source File: DXMLPrinter.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Prints XML fragment for the given name class. * * @throws XMLStreamException */ public void print(NameClass nc) throws XMLStreamException { try { nc.accept(ncVisitor); } catch (XMLWriterException e) { if (e.getCause() instanceof XMLStreamException) { throw (XMLStreamException) e.getCause(); } else { throw new XMLStreamException(e); } } }