test_class.declarator: testdataDirectory = "canonical"
test_class.modifier: private final static
test_class.original_string: private final static String testdataDirectory = "canonical";
test_class.type: String
test_class.var_name: testdataDirectory
test_class.file: ontopia-engine/src/test/java/net/ontopia/topicmaps/xml/TMXMLReaderTest.java
test_class.identifier: TMXMLReaderTest
test_class.superclass: extends AbstractXMLTestCase
test_case.body: @Test
    public void testReadFromInputSource() throws IOException {
      File file = TestFileUtils.getTransferredTestInputFile("tmxml", "in", "empty-topic.xml");
      TopicMapIF tm = new TMXMLReader(new InputSource(new FileReader(file)), new URILocator(file)).read();
      Assert.assertNotNull(tm);
      Assert.assertEquals(2, tm.getTopics().size());
    }
test_case.class_method_signature: TMXMLReaderTest.testReadFromInputSource()
test_case.full_signature: @Test public void testReadFromInputSource()
test_case.identifier: testReadFromInputSource
test_case.invocations: getTransferredTestInputFile read assertNotNull assertEquals size getTopics
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadFromInputSource()
focal_class.declarator: PROPERTY_VALIDATE = "validate"
focal_class.modifier: public static final
focal_class.original_string: public static final String PROPERTY_VALIDATE = "validate";
focal_class.type: String
focal_class.var_name: PROPERTY_VALIDATE
focal_class.declarator: validate = true
focal_class.modifier: private
focal_class.original_string: private boolean validate = true;
focal_class.type: boolean
focal_class.var_name: validate
focal_class.declarator: START          = 0
focal_class.modifier: private static final
focal_class.original_string: private static final int START          = 0;
focal_class.type: int
focal_class.var_name: START
focal_class.declarator: TOP            = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int TOP            = 1;
focal_class.type: int
focal_class.var_name: TOP
focal_class.declarator: TOPIC          = 2
focal_class.modifier: private static final
focal_class.original_string: private static final int TOPIC          = 2;
focal_class.type: int
focal_class.var_name: TOPIC
focal_class.declarator: IDENTIFIER     = 3
focal_class.modifier: private static final
focal_class.original_string: private static final int IDENTIFIER     = 3;
focal_class.type: int
focal_class.var_name: IDENTIFIER
focal_class.declarator: MAYBETOPICNAME = 4
focal_class.modifier: private static final
focal_class.original_string: private static final int MAYBETOPICNAME = 4;
focal_class.type: int
focal_class.var_name: MAYBETOPICNAME
focal_class.declarator: BASENAME       = 5
focal_class.modifier: private static final
focal_class.original_string: private static final int BASENAME       = 5;
focal_class.type: int
focal_class.var_name: BASENAME
focal_class.declarator: TOPICNAME      = 6
focal_class.modifier: private static final
focal_class.original_string: private static final int TOPICNAME      = 6;
focal_class.type: int
focal_class.var_name: TOPICNAME
focal_class.declarator: VARIANT        = 7
focal_class.modifier: private static final
focal_class.original_string: private static final int VARIANT        = 7;
focal_class.type: int
focal_class.var_name: VARIANT
focal_class.declarator: ASSOCIATION    = 8
focal_class.modifier: private static final
focal_class.original_string: private static final int ASSOCIATION    = 8;
focal_class.type: int
focal_class.var_name: ASSOCIATION
focal_class.declarator: ROLE           = 9
focal_class.modifier: private static final
focal_class.original_string: private static final int ROLE           = 9;
focal_class.type: int
focal_class.var_name: ROLE
focal_class.file: ontopia-engine/src/main/java/net/ontopia/topicmaps/xml/TMXMLReader.java
focal_class.identifier: TMXMLReader
focal_class.interfaces: implements TopicMapReaderIF
focal_class.class_method_signature: TMXMLReader.TMXMLReader(URL url)
focal_class.full_signature: public  TMXMLReader(URL url)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (URL url)
focal_class.signature:  TMXMLReader(URL url)
focal_class.class_method_signature: TMXMLReader.TMXMLReader(URL url, LocatorIF base_address)
focal_class.full_signature: public  TMXMLReader(URL url, LocatorIF base_address)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (URL url, LocatorIF base_address)
focal_class.signature:  TMXMLReader(URL url, LocatorIF base_address)
focal_class.class_method_signature: TMXMLReader.TMXMLReader(File file)
focal_class.full_signature: public  TMXMLReader(File file)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (File file)
focal_class.signature:  TMXMLReader(File file)
focal_class.class_method_signature: TMXMLReader.TMXMLReader(Reader reader, LocatorIF base_address)
focal_class.full_signature: public  TMXMLReader(Reader reader, LocatorIF base_address)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (Reader reader, LocatorIF base_address)
focal_class.signature:  TMXMLReader(Reader reader, LocatorIF base_address)
focal_class.class_method_signature: TMXMLReader.TMXMLReader(InputStream stream, LocatorIF base_address)
focal_class.full_signature: public  TMXMLReader(InputStream stream, LocatorIF base_address)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (InputStream stream, LocatorIF base_address)
focal_class.signature:  TMXMLReader(InputStream stream, LocatorIF base_address)
focal_class.class_method_signature: TMXMLReader.TMXMLReader(InputSource source, LocatorIF base)
focal_class.full_signature: public  TMXMLReader(InputSource source, LocatorIF base)
focal_class.identifier: TMXMLReader
focal_class.modifiers: public
focal_class.parameters: (InputSource source, LocatorIF base)
focal_class.signature:  TMXMLReader(InputSource source, LocatorIF base)
focal_class.class_method_signature: TMXMLReader.getValidate()
focal_class.full_signature: public boolean getValidate()
focal_class.identifier: getValidate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getValidate()
focal_class.class_method_signature: TMXMLReader.setValidate(boolean validate)
focal_class.full_signature: public void setValidate(boolean validate)
focal_class.identifier: setValidate
focal_class.modifiers: public
focal_class.parameters: (boolean validate)
focal_class.return: void
focal_class.signature: void setValidate(boolean validate)
focal_class.class_method_signature: TMXMLReader.read()
focal_class.full_signature: @Override public TopicMapIF read()
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TopicMapIF
focal_class.signature: TopicMapIF read()
focal_class.class_method_signature: TMXMLReader.importInto(TopicMapIF topicmap)
focal_class.full_signature: @Override public void importInto(TopicMapIF topicmap)
focal_class.identifier: importInto
focal_class.modifiers: @Override public
focal_class.parameters: (TopicMapIF topicmap)
focal_class.return: void
focal_class.signature: void importInto(TopicMapIF topicmap)
focal_class.class_method_signature: TMXMLReader.readAll()
focal_class.full_signature: @Override public Collection readAll()
focal_class.identifier: readAll
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection
focal_class.signature: Collection readAll()
focal_class.class_method_signature: TMXMLReader.getTMXMLSchema()
focal_class.full_signature: private InputSource getTMXMLSchema()
focal_class.identifier: getTMXMLSchema
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: InputSource
focal_class.signature: InputSource getTMXMLSchema()
focal_class.class_method_signature: TMXMLReader.setAdditionalProperties(Map<String, Object> properties)
focal_class.full_signature: @Override public void setAdditionalProperties(Map<String, Object> properties)
focal_class.identifier: setAdditionalProperties
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void setAdditionalProperties(Map<String, Object> properties)
focal_class.superclass: extends AbstractXMLFormatReader
focal_method.body: @Override
    public TopicMapIF read() throws IOException {
      InMemoryTopicMapStore store = new InMemoryTopicMapStore();
      store.setBaseAddress(base_address);
      TopicMapIF topicmap = store.getTopicMap();
      importInto(topicmap);
  
      ClassInstanceUtils.resolveAssociations1(topicmap);
      ClassInstanceUtils.resolveAssociations2(topicmap);
      
      return topicmap;
    }
focal_method.class_method_signature: TMXMLReader.read()
focal_method.full_signature: @Override public TopicMapIF read()
focal_method.identifier: read
focal_method.invocations: setBaseAddress getTopicMap importInto resolveAssociations1 resolveAssociations2
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TopicMapIF
focal_method.signature: TopicMapIF read()