test_class.file: storage/iordf/src/test/java/org/openscience/cdk/io/rdf/CDKOWLWriterTest.java
test_class.identifier: CDKOWLWriterTest
test_class.superclass: extends ChemObjectWriterTest
test_case.body: @Test
      public void testWriteMolecule() throws Exception {
          BasicConfigurator.configure();
          Logger.getRootLogger().setLevel(Level.ERROR);
          StringWriter output = new StringWriter();
          CDKOWLWriter writer = new CDKOWLWriter(output);
  
          IAtomContainer mol = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
          mol.addAtom(new Atom("C"));
          mol.addAtom(new Atom("C"));
          mol.addBond(0, 1, IBond.Order.DOUBLE);
          writer.write(mol);
          writer.close();
          String outputString = output.toString();
          Assert.assertTrue(outputString.contains("http://cdk.sourceforge.net/model.owl#"));
      }
test_case.class_method_signature: CDKOWLWriterTest.testWriteMolecule()
test_case.full_signature: @Test public void testWriteMolecule()
test_case.identifier: testWriteMolecule
test_case.invocations: configure setLevel getRootLogger newInstance getInstance addAtom addAtom addBond write close toString assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWriteMolecule()
focal_class.declarator: output
focal_class.modifier: private
focal_class.original_string: private Writer output;
focal_class.type: Writer
focal_class.var_name: output
focal_class.file: storage/iordf/src/main/java/org/openscience/cdk/io/rdf/CDKOWLWriter.java
focal_class.identifier: CDKOWLWriter
focal_class.class_method_signature: CDKOWLWriter.CDKOWLWriter(Writer output)
focal_class.full_signature: public  CDKOWLWriter(Writer output)
focal_class.identifier: CDKOWLWriter
focal_class.modifiers: public
focal_class.parameters: (Writer output)
focal_class.signature:  CDKOWLWriter(Writer output)
focal_class.class_method_signature: CDKOWLWriter.CDKOWLWriter()
focal_class.full_signature: public  CDKOWLWriter()
focal_class.identifier: CDKOWLWriter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CDKOWLWriter()
focal_class.class_method_signature: CDKOWLWriter.getFormat()
focal_class.full_signature: @Override public IResourceFormat getFormat()
focal_class.identifier: getFormat
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IResourceFormat
focal_class.signature: IResourceFormat getFormat()
focal_class.class_method_signature: CDKOWLWriter.setWriter(Writer out)
focal_class.full_signature: @Override public void setWriter(Writer out)
focal_class.identifier: setWriter
focal_class.modifiers: @Override public
focal_class.parameters: (Writer out)
focal_class.return: void
focal_class.signature: void setWriter(Writer out)
focal_class.class_method_signature: CDKOWLWriter.setWriter(OutputStream output)
focal_class.full_signature: @Override public void setWriter(OutputStream output)
focal_class.identifier: setWriter
focal_class.modifiers: @Override public
focal_class.parameters: (OutputStream output)
focal_class.return: void
focal_class.signature: void setWriter(OutputStream output)
focal_class.class_method_signature: CDKOWLWriter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: CDKOWLWriter.accepts(Class<? extends IChemObject> classObject)
focal_class.full_signature: @Override public boolean accepts(Class<? extends IChemObject> classObject)
focal_class.identifier: accepts
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends IChemObject> classObject)
focal_class.return: boolean
focal_class.signature: boolean accepts(Class<? extends IChemObject> classObject)
focal_class.class_method_signature: CDKOWLWriter.write(IChemObject object)
focal_class.full_signature: @Override public void write(IChemObject object)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (IChemObject object)
focal_class.return: void
focal_class.signature: void write(IChemObject object)
focal_class.class_method_signature: CDKOWLWriter.writeMolecule(IAtomContainer mol)
focal_class.full_signature: private void writeMolecule(IAtomContainer mol)
focal_class.identifier: writeMolecule
focal_class.modifiers: private
focal_class.parameters: (IAtomContainer mol)
focal_class.return: void
focal_class.signature: void writeMolecule(IAtomContainer mol)
focal_class.superclass: extends DefaultChemObjectWriter
focal_method.body: private void writeMolecule(IAtomContainer mol) {
          Model model = Convertor.molecule2Model(mol);
          model.write(output, "N3");
      }
focal_method.class_method_signature: CDKOWLWriter.writeMolecule(IAtomContainer mol)
focal_method.full_signature: private void writeMolecule(IAtomContainer mol)
focal_method.identifier: writeMolecule
focal_method.invocations: molecule2Model write
focal_method.modifiers: private
focal_method.parameters: (IAtomContainer mol)
focal_method.return: void
focal_method.signature: void writeMolecule(IAtomContainer mol)