@Test public void testBegin() throws Exception { uml2XsdPluginWriterAdapter.begin(prefix, "test", "testns"); Mockito.verify(mockWriter).writeStartElement(prefix, "test", "testns"); }
@Override public void begin(final String prefix, final String localName, final String namespace) { try { xsw.writeStartElement(prefix, localName, namespace); } catch (final XMLStreamException e) { throw new XsdGenRuntimeException(e); } }
Uml2XsdPluginWriterAdapter implements Uml2XsdPluginWriter { @Override public void begin(final String prefix, final String localName, final String namespace) { try { xsw.writeStartElement(prefix, localName, namespace); } catch (final XMLStreamException e) { throw new XsdGenRuntimeException(e); } } }
Uml2XsdPluginWriterAdapter implements Uml2XsdPluginWriter { @Override public void begin(final String prefix, final String localName, final String namespace) { try { xsw.writeStartElement(prefix, localName, namespace); } catch (final XMLStreamException e) { throw new XsdGenRuntimeException(e); } } Uml2XsdPluginWriterAdapter(final XMLStreamWriter xsw, final String prefix); }
Uml2XsdPluginWriterAdapter implements Uml2XsdPluginWriter { @Override public void begin(final String prefix, final String localName, final String namespace) { try { xsw.writeStartElement(prefix, localName, namespace); } catch (final XMLStreamException e) { throw new XsdGenRuntimeException(e); } } Uml2XsdPluginWriterAdapter(final XMLStreamWriter xsw, final String prefix); @Override void annotation(); @Override void appinfo(); @Override void begin(final String prefix, final String localName, final String namespace); @Override void characters(final String text); @Override void choice(); @Override void comment(final String data); @Override void complexType(); @Override void documentation(); @Override void element(); @Override void elementName(final QName name); @Override void end(); @Override void maxOccurs(final Occurs value); @Override void minOccurs(final Occurs value); @Override void ref(final QName name); @Override void sequence(); @Override void type(final QName name); }
Uml2XsdPluginWriterAdapter implements Uml2XsdPluginWriter { @Override public void begin(final String prefix, final String localName, final String namespace) { try { xsw.writeStartElement(prefix, localName, namespace); } catch (final XMLStreamException e) { throw new XsdGenRuntimeException(e); } } Uml2XsdPluginWriterAdapter(final XMLStreamWriter xsw, final String prefix); @Override void annotation(); @Override void appinfo(); @Override void begin(final String prefix, final String localName, final String namespace); @Override void characters(final String text); @Override void choice(); @Override void comment(final String data); @Override void complexType(); @Override void documentation(); @Override void element(); @Override void elementName(final QName name); @Override void end(); @Override void maxOccurs(final Occurs value); @Override void minOccurs(final Occurs value); @Override void ref(final QName name); @Override void sequence(); @Override void type(final QName name);  }