test_class.file: storage/io/src/test/java/org/openscience/cdk/io/CMLReaderTest.java
test_class.identifier: CMLReaderTest
test_class.superclass: extends SimpleChemObjectReaderTest
test_case.body: @Test
      public void testAccepts() {
          Assert.assertTrue(chemObjectIO.accepts(ChemFile.class));
      }
test_case.class_method_signature: CMLReaderTest.testAccepts()
test_case.full_signature: @Test public void testAccepts()
test_case.identifier: testAccepts
test_case.invocations: assertTrue accepts
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAccepts()
focal_class.declarator: parser
focal_class.modifier: private
focal_class.original_string: private XMLReader               parser;
focal_class.type: XMLReader
focal_class.var_name: parser
focal_class.declarator: input
focal_class.modifier: private
focal_class.original_string: private InputStream             input;
focal_class.type: InputStream
focal_class.var_name: input
focal_class.declarator: url
focal_class.modifier: private
focal_class.original_string: private String                  url;
focal_class.type: String
focal_class.var_name: url
focal_class.declarator: userConventions = new HashMap<String, ICMLModule>()
focal_class.modifier: private
focal_class.original_string: private Map<String, ICMLModule> userConventions = new HashMap<String, ICMLModule>();
focal_class.type: Map<String, ICMLModule>
focal_class.var_name: userConventions
focal_class.declarator: logger          = LoggingToolFactory.createLoggingTool(CMLReader.class)
focal_class.modifier: private static
focal_class.original_string: private static ILoggingTool     logger          = LoggingToolFactory.createLoggingTool(CMLReader.class);
focal_class.type: ILoggingTool
focal_class.var_name: logger
focal_class.file: storage/io/src/main/java/org/openscience/cdk/io/CMLReader.java
focal_class.identifier: CMLReader
focal_class.class_method_signature: CMLReader.CMLReader(InputStream input)
focal_class.full_signature: public  CMLReader(InputStream input)
focal_class.identifier: CMLReader
focal_class.modifiers: public
focal_class.parameters: (InputStream input)
focal_class.signature:  CMLReader(InputStream input)
focal_class.class_method_signature: CMLReader.CMLReader()
focal_class.full_signature: public  CMLReader()
focal_class.identifier: CMLReader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CMLReader()
focal_class.class_method_signature: CMLReader.registerConvention(String convention, ICMLModule conv)
focal_class.full_signature: public void registerConvention(String convention, ICMLModule conv)
focal_class.identifier: registerConvention
focal_class.modifiers: public
focal_class.parameters: (String convention, ICMLModule conv)
focal_class.return: void
focal_class.signature: void registerConvention(String convention, ICMLModule conv)
focal_class.class_method_signature: CMLReader.CMLReader(String url)
focal_class.full_signature: public  CMLReader(String url)
focal_class.identifier: CMLReader
focal_class.modifiers: public
focal_class.parameters: (String url)
focal_class.signature:  CMLReader(String url)
focal_class.class_method_signature: CMLReader.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: CMLReader.setReader(Reader reader)
focal_class.full_signature: @Override public void setReader(Reader reader)
focal_class.identifier: setReader
focal_class.modifiers: @Override public
focal_class.parameters: (Reader reader)
focal_class.return: void
focal_class.signature: void setReader(Reader reader)
focal_class.class_method_signature: CMLReader.setReader(InputStream input)
focal_class.full_signature: @Override public void setReader(InputStream input)
focal_class.identifier: setReader
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream input)
focal_class.return: void
focal_class.signature: void setReader(InputStream input)
focal_class.class_method_signature: CMLReader.init()
focal_class.full_signature: private void init()
focal_class.identifier: init
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: CMLReader.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: CMLReader.read(T object)
focal_class.full_signature: @Override public T read(T object)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (T object)
focal_class.return: T
focal_class.signature: T read(T object)
focal_class.class_method_signature: CMLReader.readChemFile(IChemFile file)
focal_class.full_signature: private IChemFile readChemFile(IChemFile file)
focal_class.identifier: readChemFile
focal_class.modifiers: private
focal_class.parameters: (IChemFile file)
focal_class.return: IChemFile
focal_class.signature: IChemFile readChemFile(IChemFile file)
focal_class.class_method_signature: CMLReader.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.superclass: extends DefaultChemObjectReader
focal_method.body: @Override
      public boolean accepts(Class<? extends IChemObject> classObject) {
          Class<?>[] interfaces = classObject.getInterfaces();
          for (int i = 0; i < interfaces.length; i++) {
              if (IChemFile.class.equals(interfaces[i])) return true;
          }
  
          if (IChemFile.class.equals(classObject)) return true;
          Class superClass = classObject.getSuperclass();
          if (superClass != null) return this.accepts(superClass);
          return false;
      }
focal_method.class_method_signature: CMLReader.accepts(Class<? extends IChemObject> classObject)
focal_method.full_signature: @Override public boolean accepts(Class<? extends IChemObject> classObject)
focal_method.identifier: accepts
focal_method.invocations: getInterfaces equals equals getSuperclass accepts
focal_method.modifiers: @Override public
focal_method.parameters: (Class<? extends IChemObject> classObject)
focal_method.return: boolean
focal_method.signature: boolean accepts(Class<? extends IChemObject> classObject)