test_class.file: storage/ioformats/src/test/java/org/openscience/cdk/io/formats/PubChemSubstanceXMLFormatTest.java
test_class.identifier: PubChemSubstanceXMLFormatTest
test_class.superclass: extends ChemFormatMatcherTest
test_case.body: @Test
      @Override
      public void testMatches() throws Exception {
          String header = "<?xml version=\"\"?><PC-Substance/>";
          Assert.assertTrue(matches(header));
      }
test_case.class_method_signature: PubChemSubstanceXMLFormatTest.testMatches()
test_case.full_signature: @Test @Override public void testMatches()
test_case.identifier: testMatches
test_case.invocations: assertTrue matches
test_case.modifiers: @Test @Override public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatches()
focal_class.declarator: myself = null
focal_class.modifier: private static
focal_class.original_string: private static IResourceFormat myself = null;
focal_class.type: IResourceFormat
focal_class.var_name: myself
focal_class.file: storage/ioformats/src/main/java/org/openscience/cdk/io/formats/PubChemSubstanceXMLFormat.java
focal_class.identifier: PubChemSubstanceXMLFormat
focal_class.interfaces: implements IChemFormatMatcher
focal_class.class_method_signature: PubChemSubstanceXMLFormat.PubChemSubstanceXMLFormat()
focal_class.full_signature: public  PubChemSubstanceXMLFormat()
focal_class.identifier: PubChemSubstanceXMLFormat
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  PubChemSubstanceXMLFormat()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getInstance()
focal_class.full_signature: public static IResourceFormat getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: IResourceFormat
focal_class.signature: IResourceFormat getInstance()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getFormatName()
focal_class.full_signature: @Override public String getFormatName()
focal_class.identifier: getFormatName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFormatName()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getMIMEType()
focal_class.full_signature: @Override public String getMIMEType()
focal_class.identifier: getMIMEType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMIMEType()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getPreferredNameExtension()
focal_class.full_signature: @Override public String getPreferredNameExtension()
focal_class.identifier: getPreferredNameExtension
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPreferredNameExtension()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getNameExtensions()
focal_class.full_signature: @Override public String[] getNameExtensions()
focal_class.identifier: getNameExtensions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getNameExtensions()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getReaderClassName()
focal_class.full_signature: @Override public String getReaderClassName()
focal_class.identifier: getReaderClassName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getReaderClassName()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getWriterClassName()
focal_class.full_signature: @Override public String getWriterClassName()
focal_class.identifier: getWriterClassName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getWriterClassName()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.isXMLBased()
focal_class.full_signature: @Override public boolean isXMLBased()
focal_class.identifier: isXMLBased
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isXMLBased()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getSupportedDataFeatures()
focal_class.full_signature: @Override public int getSupportedDataFeatures()
focal_class.identifier: getSupportedDataFeatures
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSupportedDataFeatures()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.getRequiredDataFeatures()
focal_class.full_signature: @Override public int getRequiredDataFeatures()
focal_class.identifier: getRequiredDataFeatures
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getRequiredDataFeatures()
focal_class.class_method_signature: PubChemSubstanceXMLFormat.matches(List<String> lines)
focal_class.full_signature: @Override public MatchResult matches(List<String> lines)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> lines)
focal_class.return: MatchResult
focal_class.signature: MatchResult matches(List<String> lines)
focal_class.superclass: extends AbstractResourceFormat
focal_method.body: @Override
      public MatchResult matches(List<String> lines) {
          MatchResult result = NO_MATCH;
          for (int i = 0; i < lines.size(); i++) {
              String line = lines.get(i);
              if (line.contains("<PC-Substance") && result == NO_MATCH) result = new MatchResult(true, this, i);
              if (line.contains("<PC-Substances")) return NO_MATCH;
          }
          return result;
      }
focal_method.class_method_signature: PubChemSubstanceXMLFormat.matches(List<String> lines)
focal_method.full_signature: @Override public MatchResult matches(List<String> lines)
focal_method.identifier: matches
focal_method.invocations: size get contains contains
focal_method.modifiers: @Override public
focal_method.parameters: (List<String> lines)
focal_method.return: MatchResult
focal_method.signature: MatchResult matches(List<String> lines)