test_class.declarator: testdataDirectory = "tmprefs"
test_class.modifier: private final static
test_class.original_string: private final static String testdataDirectory = "tmprefs";
test_class.type: String
test_class.var_name: testdataDirectory
test_class.declarator: DEFAULTVALUE = "____DEFAULT_VALUE____"
test_class.modifier: private final static
test_class.original_string: private final static String DEFAULTVALUE = "____DEFAULT_VALUE____";
test_class.type: String
test_class.var_name: DEFAULTVALUE
test_class.declarator: base
test_class.modifier: private
test_class.original_string: private String base;
test_class.type: String
test_class.var_name: base
test_class.declarator: filename
test_class.modifier: private
test_class.original_string: private String filename;
test_class.type: String
test_class.var_name: filename
test_class.file: ontopia-tmprefs/src/test/java/net/ontopia/topicmaps/utils/tmprefs/TopicMapPreferencesTest.java
test_class.identifier: TopicMapPreferencesTest
test_case.body: @Test
  	public void testFile() throws IOException, BackingStoreException {
  		TestFileUtils.verifyDirectory(base, "out");
  		TestFileUtils.verifyDirectory(base, "ltm");
  		String in = TestFileUtils.getTestInputFile(testdataDirectory, "in", filename);
  		String baseline = TestFileUtils.getTestInputFile(testdataDirectory, "baseline", filename + ".cxtm");
  		File out = new File(base + File.separator + "out" + File.separator + filename + ".cxtm");
  		File ltm = new File(base + File.separator + "ltm" + File.separator + filename + ".ltm");
  		TestTMPrefsFactory.setFixedReference(in);
  		
  		runPreferencesMethods();
  		
  		TopicMapReferenceIF reference = TestTMPrefsFactory.getSystemTopicMapReference();
  		TopicMapStoreIF store = reference.createStore(true);
  		TopicMapIF topicmap = store.getTopicMap();
  		
  		new LTMTopicMapWriter(ltm).write(topicmap);
  
  		new CanonicalXTMWriter(out).write(topicmap);
  
  		// // compare results
  		// Assert.assertTrue("Canonicalizing the test file " + filename +
  		// 	" produces " + out + " which is different from " +
  		// 	baseline, FileUtils.compareFileToResource(out, baseline));
  
  		TestTMPrefsFactory.setFixedReference(null);
  		store.close();
  	}
test_case.class_method_signature: TopicMapPreferencesTest.testFile()
test_case.full_signature: @Test public void testFile()
test_case.identifier: testFile
test_case.invocations: verifyDirectory verifyDirectory getTestInputFile getTestInputFile setFixedReference runPreferencesMethods getSystemTopicMapReference createStore getTopicMap write write setFixedReference close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFile()
focal_class.declarator: logger = LoggerFactory.getLogger(TopicMapPreferences.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(TopicMapPreferences.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: children = new HashMap<String, TopicMapPreferences>()
focal_class.modifier: protected
focal_class.original_string: protected HashMap<String, TopicMapPreferences> children = new HashMap<String, TopicMapPreferences>();
focal_class.type: HashMap<String, TopicMapPreferences>
focal_class.var_name: children
focal_class.declarator: properties = new HashMap<String, String>()
focal_class.modifier: protected
focal_class.original_string: protected HashMap<String, String> properties = new HashMap<String, String>();
focal_class.type: HashMap<String, String>
focal_class.var_name: properties
focal_class.declarator: factory
focal_class.modifier: protected final
focal_class.original_string: protected final TopicMapPreferencesFactory factory;
focal_class.type: TopicMapPreferencesFactory
focal_class.var_name: factory
focal_class.declarator: topicMapReference
focal_class.modifier: protected
focal_class.original_string: protected TopicMapReferenceIF topicMapReference;
focal_class.type: TopicMapReferenceIF
focal_class.var_name: topicMapReference
focal_class.declarator: topic
focal_class.modifier: protected
focal_class.original_string: protected TopicIF topic;
focal_class.type: TopicIF
focal_class.var_name: topic
focal_class.declarator: isUserNode
focal_class.modifier: private final
focal_class.original_string: private final boolean isUserNode;
focal_class.type: boolean
focal_class.var_name: isUserNode
focal_class.declarator: propertiesStored   = new HashSet<String>()
focal_class.modifier: private
focal_class.original_string: private HashSet<String> propertiesStored   = new HashSet<String>();
focal_class.type: HashSet<String>
focal_class.var_name: propertiesStored
focal_class.declarator: propertiesAdded    = new HashSet<String>()
focal_class.modifier: private
focal_class.original_string: private HashSet<String> propertiesAdded    = new HashSet<String>();
focal_class.type: HashSet<String>
focal_class.var_name: propertiesAdded
focal_class.declarator: propertiesModified = new HashSet<String>()
focal_class.modifier: private
focal_class.original_string: private HashSet<String> propertiesModified = new HashSet<String>();
focal_class.type: HashSet<String>
focal_class.var_name: propertiesModified
focal_class.declarator: propertiesRemoved  = new HashSet<String>()
focal_class.modifier: private
focal_class.original_string: private HashSet<String> propertiesRemoved  = new HashSet<String>();
focal_class.type: HashSet<String>
focal_class.var_name: propertiesRemoved
focal_class.file: ontopia-tmprefs/src/main/java/net/ontopia/topicmaps/utils/tmprefs/TopicMapPreferences.java
focal_class.identifier: TopicMapPreferences
focal_class.class_method_signature: TopicMapPreferences.handlePropertyStatusChange(String key, PropertyStatus newStatus)
focal_class.full_signature: private synchronized void handlePropertyStatusChange(String key, PropertyStatus newStatus)
focal_class.identifier: handlePropertyStatusChange
focal_class.modifiers: private synchronized
focal_class.parameters: (String key, PropertyStatus newStatus)
focal_class.return: void
focal_class.signature: void handlePropertyStatusChange(String key, PropertyStatus newStatus)
focal_class.class_method_signature: TopicMapPreferences.createSystemRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.full_signature: public static TopicMapPreferences createSystemRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.identifier: createSystemRoot
focal_class.modifiers: public static
focal_class.parameters: (TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.return: TopicMapPreferences
focal_class.signature: TopicMapPreferences createSystemRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.class_method_signature: TopicMapPreferences.createUserRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.full_signature: public static TopicMapPreferences createUserRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.identifier: createUserRoot
focal_class.modifiers: public static
focal_class.parameters: (TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.return: TopicMapPreferences
focal_class.signature: TopicMapPreferences createUserRoot(TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.class_method_signature: TopicMapPreferences.TopicMapPreferences(boolean isUserNode, TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.full_signature: private  TopicMapPreferences(boolean isUserNode, TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.identifier: TopicMapPreferences
focal_class.modifiers: private
focal_class.parameters: (boolean isUserNode, TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.signature:  TopicMapPreferences(boolean isUserNode, TopicMapReferenceIF topicMapReference, TopicMapPreferencesFactory factory)
focal_class.class_method_signature: TopicMapPreferences.TopicMapPreferences(TopicMapPreferences parent, String name)
focal_class.full_signature: private  TopicMapPreferences(TopicMapPreferences parent, String name)
focal_class.identifier: TopicMapPreferences
focal_class.modifiers: private
focal_class.parameters: (TopicMapPreferences parent, String name)
focal_class.signature:  TopicMapPreferences(TopicMapPreferences parent, String name)
focal_class.class_method_signature: TopicMapPreferences.isUserNode()
focal_class.full_signature: @Override public boolean isUserNode()
focal_class.identifier: isUserNode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUserNode()
focal_class.class_method_signature: TopicMapPreferences.getSpi(String key)
focal_class.full_signature: @Override public String getSpi(String key)
focal_class.identifier: getSpi
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getSpi(String key)
focal_class.class_method_signature: TopicMapPreferences.putSpi(String key, String value)
focal_class.full_signature: @Override public void putSpi(String key, String value)
focal_class.identifier: putSpi
focal_class.modifiers: @Override public
focal_class.parameters: (String key, String value)
focal_class.return: void
focal_class.signature: void putSpi(String key, String value)
focal_class.class_method_signature: TopicMapPreferences.removeSpi(String key)
focal_class.full_signature: @Override public void removeSpi(String key)
focal_class.identifier: removeSpi
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: void
focal_class.signature: void removeSpi(String key)
focal_class.class_method_signature: TopicMapPreferences.childSpi(String name)
focal_class.full_signature: @Override public TopicMapPreferences childSpi(String name)
focal_class.identifier: childSpi
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: TopicMapPreferences
focal_class.signature: TopicMapPreferences childSpi(String name)
focal_class.class_method_signature: TopicMapPreferences.removeNodeSpi()
focal_class.full_signature: @Override public void removeNodeSpi()
focal_class.identifier: removeNodeSpi
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeNodeSpi()
focal_class.class_method_signature: TopicMapPreferences.keysSpi()
focal_class.full_signature: @Override public String[] keysSpi()
focal_class.identifier: keysSpi
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] keysSpi()
focal_class.class_method_signature: TopicMapPreferences.childrenNamesSpi()
focal_class.full_signature: @Override public String[] childrenNamesSpi()
focal_class.identifier: childrenNamesSpi
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] childrenNamesSpi()
focal_class.class_method_signature: TopicMapPreferences.syncSpi()
focal_class.full_signature: @Override public synchronized void syncSpi()
focal_class.identifier: syncSpi
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void syncSpi()
focal_class.class_method_signature: TopicMapPreferences.flushSpi()
focal_class.full_signature: @Override public synchronized void flushSpi()
focal_class.identifier: flushSpi
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flushSpi()
focal_class.class_method_signature: TopicMapPreferences.createStore(TopicMapReferenceIF topicMapReference, boolean readonly)
focal_class.full_signature: protected TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly)
focal_class.identifier: createStore
focal_class.modifiers: protected
focal_class.parameters: (TopicMapReferenceIF topicMapReference, boolean readonly)
focal_class.return: TopicMapStoreIF
focal_class.signature: TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly)
focal_class.class_method_signature: TopicMapPreferences.fetchChildren(TopicMapIF topicmap, TopicIF topic)
focal_class.full_signature: protected Set<TopicIF> fetchChildren(TopicMapIF topicmap, TopicIF topic)
focal_class.identifier: fetchChildren
focal_class.modifiers: protected
focal_class.parameters: (TopicMapIF topicmap, TopicIF topic)
focal_class.return: Set<TopicIF>
focal_class.signature: Set<TopicIF> fetchChildren(TopicMapIF topicmap, TopicIF topic)
focal_class.class_method_signature: TopicMapPreferences.fetchProperties(TopicMapIF topicmap)
focal_class.full_signature: protected Set<OccurrenceIF> fetchProperties(TopicMapIF topicmap)
focal_class.identifier: fetchProperties
focal_class.modifiers: protected
focal_class.parameters: (TopicMapIF topicmap)
focal_class.return: Set<OccurrenceIF>
focal_class.signature: Set<OccurrenceIF> fetchProperties(TopicMapIF topicmap)
focal_class.class_method_signature: TopicMapPreferences.fetchPropertyType(String key, TopicMapIF topicmap)
focal_class.full_signature: protected TopicIF fetchPropertyType(String key, TopicMapIF topicmap)
focal_class.identifier: fetchPropertyType
focal_class.modifiers: protected
focal_class.parameters: (String key, TopicMapIF topicmap)
focal_class.return: TopicIF
focal_class.signature: TopicIF fetchPropertyType(String key, TopicMapIF topicmap)
focal_class.class_method_signature: TopicMapPreferences.fetchTopic(TopicMapIF topicmap)
focal_class.full_signature: protected TopicIF fetchTopic(TopicMapIF topicmap)
focal_class.identifier: fetchTopic
focal_class.modifiers: protected
focal_class.parameters: (TopicMapIF topicmap)
focal_class.return: TopicIF
focal_class.signature: TopicIF fetchTopic(TopicMapIF topicmap)
focal_class.class_method_signature: TopicMapPreferences.createTopic(TopicMapIF topicmap)
focal_class.full_signature: protected TopicIF createTopic(TopicMapIF topicmap)
focal_class.identifier: createTopic
focal_class.modifiers: protected
focal_class.parameters: (TopicMapIF topicmap)
focal_class.return: TopicIF
focal_class.signature: TopicIF createTopic(TopicMapIF topicmap)
focal_class.class_method_signature: TopicMapPreferences.removeTopic(TopicMapIF topicmap, TopicIF topic)
focal_class.full_signature: protected void removeTopic(TopicMapIF topicmap, TopicIF topic)
focal_class.identifier: removeTopic
focal_class.modifiers: protected
focal_class.parameters: (TopicMapIF topicmap, TopicIF topic)
focal_class.return: void
focal_class.signature: void removeTopic(TopicMapIF topicmap, TopicIF topic)
focal_class.class_method_signature: TopicMapPreferences.mergeTopics(TopicIF targetTopic, TopicIF sourceTopic)
focal_class.full_signature: protected void mergeTopics(TopicIF targetTopic, TopicIF sourceTopic)
focal_class.identifier: mergeTopics
focal_class.modifiers: protected
focal_class.parameters: (TopicIF targetTopic, TopicIF sourceTopic)
focal_class.return: void
focal_class.signature: void mergeTopics(TopicIF targetTopic, TopicIF sourceTopic)
focal_class.class_method_signature: TopicMapPreferences.revitalize(TopicIF topic, TopicMapIF topicmap)
focal_class.full_signature: protected TopicIF revitalize(TopicIF topic, TopicMapIF topicmap)
focal_class.identifier: revitalize
focal_class.modifiers: protected
focal_class.parameters: (TopicIF topic, TopicMapIF topicmap)
focal_class.return: TopicIF
focal_class.signature: TopicIF revitalize(TopicIF topic, TopicMapIF topicmap)
focal_class.superclass: extends AbstractPreferences
focal_method.body: protected TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly) throws BackingStoreException {
  		try {
  			return topicMapReference.createStore(readonly);
  		} catch (IOException e) {
  			throw new BackingStoreException(e);
  		}
  	}
focal_method.class_method_signature: TopicMapPreferences.createStore(TopicMapReferenceIF topicMapReference, boolean readonly)
focal_method.full_signature: protected TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly)
focal_method.identifier: createStore
focal_method.invocations: createStore
focal_method.modifiers: protected
focal_method.parameters: (TopicMapReferenceIF topicMapReference, boolean readonly)
focal_method.return: TopicMapStoreIF
focal_method.signature: TopicMapStoreIF createStore(TopicMapReferenceIF topicMapReference, boolean readonly)