@Override
	public AddressSpace getNewAddressSpace(String oldSpaceName) {
		if (!isValid) {
			throw new IllegalStateException("Translator has not been validated");
		}
		if (spaceNameMap.isEmpty()) {
			return super.getNewAddressSpace(oldSpaceName);
		}
		String newName = spaceNameMap.get(oldSpaceName);
		if (newName != null) {
			return getNewLanguage().getAddressFactory().getAddressSpace(newName);
		}
		return null;
	}
<code>SimpleLanguageTranslator</code> provides a simple translator which
derives its mappings from an XML translation specification file.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/SimpleLanguageTranslator.java