Java 类com.intellij.util.xmlb.XmlSerializerUtil 实例源码

项目:IdeaCurrency    文件:IdeaCurrencyConfig.java   
@Override
public void loadState(IdeaCurrencyConfig ideaCurrencyConfig) {
    XmlSerializerUtil.copyBean(ideaCurrencyConfig, this);
    for (String exchangeName : ideaCurrencyConfig.currencyPairByExchangeMap.keySet()) {
        String currencyPairs = currencyPairByExchangeMap.get(exchangeName);
        String[] split = currencyPairs.split(",");
        Set<CurrencyPair> currencyPairSet = Lists.newArrayList(split).stream().map(CurrencyPair::new).collect(Collectors.toSet());
        selectedExchangeCurrencyPairs.add(new SelectedExchangeCurrencyPair(exchangeName, currencyPairSet));
    }
    checkAndOptimizeReloadInterval(ideaCurrencyConfig.getReloadInterval());
}
项目:CodeGen    文件:SettingManager.java   
@Override
public void loadState(SettingManager formatSetting) {
    XmlSerializerUtil.copyBean(formatSetting, this);
    if (templates != null && templates.getRoots().size() == 0) {
        templates.setRoots(Defaults.getDefaultTemplates());
    }
    if (variables != null && StringUtils.isBlank(variables.getIgnoreFields())) {
        variables.setIgnoreFields("id,created_at,updated_at");
    }
}
项目:stack-intheflow    文件:PersistProfileComponent.java   
@Override
public void loadState(PersistProfileComponent state) {
    XmlSerializerUtil.copyBean(state, this);

    // Prevent loading a null map
    if (userStatMap == null) {
        userStatMap = new HashMap<>();
    }
}
项目:intellij-ce-playground    文件:JavacConfiguration.java   
@Override
@NotNull
public JpsJavaCompilerOptions getState() {
  JpsJavaCompilerOptions state = new JpsJavaCompilerOptions();
  XmlSerializerUtil.copyBean(mySettings, state);
  state.ADDITIONAL_OPTIONS_STRING = PathMacroManager.getInstance(myProject).collapsePathsRecursively(state.ADDITIONAL_OPTIONS_STRING);
  return state;
}
项目:intellij-ce-playground    文件:SingleRemoteServerConfigurable.java   
@Override
public void apply() throws ConfigurationException {
  boolean uncheckedApply = myConfigurable.isModified();
  myConfigurable.apply();
  XmlSerializerUtil.copyBean(myInnerServer.getConfiguration(), myServer.getConfiguration());
  myNew = false;
  myUncheckedApply = uncheckedApply;
  myInnerApplied = false;
}
项目:intellij-ce-playground    文件:HttpConfigurable.java   
@Override
public HttpConfigurable getState() {
  CommonProxy.isInstalledAssertion();

  HttpConfigurable state = new HttpConfigurable();
  XmlSerializerUtil.copyBean(this, state);
  if (!KEEP_PROXY_PASSWORD) {
    state.PROXY_PASSWORD_CRYPT = null;
  }
  correctPasswords(state);
  return state;
}
项目:intellij-ce-playground    文件:HttpConfigurable.java   
@Override
public void loadState(@NotNull HttpConfigurable state) {
  XmlSerializerUtil.copyBean(state, this);
  if (!KEEP_PROXY_PASSWORD) {
    PROXY_PASSWORD_CRYPT = null;
  }
  correctPasswords(this);
}
项目:intellij-ce-playground    文件:TaskManagerImpl.java   
public void loadState(Config config) {
  XmlSerializerUtil.copyBean(config, myConfig);
  myTasks.clear();
  for (LocalTaskImpl task : config.tasks) {
    addTask(task);
  }

  myRepositories.clear();
  Element element = config.servers;
  List<TaskRepository> repositories = loadRepositories(element);
  myRepositories.addAll(repositories);
}
项目:yii2support    文件:Yii2SupportSettings.java   
@Override
public void loadState(Yii2SupportSettings applicationService) {
    XmlSerializerUtil.copyBean(applicationService, this);
}
项目:CodeGenerate    文件:CodeMakerSettings.java   
@Override
public void loadState(CodeMakerSettings codeMakerSettings) {
    XmlSerializerUtil.copyBean(codeMakerSettings, this);
}
项目:react-native-console    文件:RNConsoleConfiguration.java   
@Override
public void loadState(RNConsoleConfiguration freelineConfiguration) {
    XmlSerializerUtil.copyBean(freelineConfiguration, this);
}
项目:ActiveTabHighlighterPlugin    文件:HighlighterSettingsConfig.java   
@Override
public void loadState(HighlighterSettingsConfig state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:idea-sourcetrail    文件:SourcetrailOptions.java   
public void loadState(SourcetrailOptions state)
{
    XmlSerializerUtil.copyBean(state, this);
}
项目:Gherkin-TS-Runner    文件:Config.java   
@Override
public void loadState(Config gherkinConfig) {
    XmlSerializerUtil.copyBean(gherkinConfig, this);
}
项目:MCPluginDebuggerforIDEA    文件:PluginDataConfig.java   
@Override
public void loadState(PluginDataConfig pluginDataConfig) {
    XmlSerializerUtil.copyBean(pluginDataConfig, this);
}
项目:magento2-phpstorm-plugin    文件:Settings.java   
@Override
public void loadState(Settings settings) {
    XmlSerializerUtil.copyBean(settings, this);
}
项目:intellij-randomness    文件:ArraySettings.java   
@Override
public void loadState(final ArraySettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-randomness    文件:IntegerSettings.java   
@Override
public void loadState(final @NotNull IntegerSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-randomness    文件:StringSettings.java   
@Override
public void loadState(final @NotNull StringSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-randomness    文件:DecimalSettings.java   
@Override
public void loadState(final DecimalSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-randomness    文件:WordSettings.java   
@Override
public void loadState(final @NotNull WordSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-postfix-templates    文件:CptApplicationSettings.java   
@Override
public void loadState(State state) {
    XmlSerializerUtil.copyBean(state, this.state);
}
项目:jfrog-idea-plugin    文件:ScanCache.java   
@Override
public void loadState(ScanCache state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:jfrog-idea-plugin    文件:GlobalSettings.java   
@Override
public void loadState(GlobalSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:SmartTomcat    文件:TomcatInfoConfigs.java   
@Override
public void loadState(TomcatInfoConfigs tomcatInfoConfigs) {
    XmlSerializerUtil.copyBean(tomcatInfoConfigs, this);

}
项目:hybris-integration-intellij-idea-plugin    文件:HybrisApplicationSettingsComponent.java   
@Override
public void loadState(final HybrisApplicationSettings state) {
    XmlSerializerUtil.copyBean(state, this.hybrisApplicationSettings);
}
项目:hybris-integration-intellij-idea-plugin    文件:HybrisProjectSettingsComponent.java   
@Override
public void loadState(final HybrisProjectSettings state) {
    XmlSerializerUtil.copyBean(state, this.hybrisProjectSettings);
}
项目:IntelliJ-Key-Promoter-X    文件:KeyPromoterConfiguration.java   
public void loadState(KeyPromoterConfiguration state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:IntelliJ-Key-Promoter-X    文件:KeyPromoterSettings.java   
@Override
public void loadState(KeyPromoterSettings keyPromoterSettings) {
    XmlSerializerUtil.copyBean(keyPromoterSettings, this);
}
项目:IntelliJ-Key-Promoter-X    文件:KeyPromoterStatistics.java   
@Override
public void loadState(KeyPromoterStatistics stats) {
    XmlSerializerUtil.copyBean(stats, this);
}
项目:educational-plugin    文件:StudySettings.java   
@Override
public void loadState(StudySettings state) {
  XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-mattermost-plugin    文件:SettingsBean.java   
@Override
public void loadState(SettingsBean settingsBean) {
    XmlSerializerUtil.copyBean(settingsBean, this);
}
项目:vartrans    文件:Config.java   
@Override
public void loadState(State state) {
    XmlSerializerUtil.copyBean(state, this.state);
}
项目:GravSupport    文件:GravProjectSettings.java   
@Override
public void loadState(GravProjectSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:GravSupport    文件:GravPersistentStateComponent.java   
@Override
public void loadState(GravPersistentStateComponent state) {
    XmlSerializerUtil.copyBean(state, this);
}
项目:intellij-idea-plugin-connector-for-aws-lambda    文件:ConnectorSettings.java   
@Override
public void loadState(ConnectorSettings connectorSettings) {
    XmlSerializerUtil.copyBean(connectorSettings, this);
}
项目:intellij-ce-playground    文件:JpsAppEngineModuleExtensionImpl.java   
private JpsAppEngineModuleExtensionImpl(JpsAppEngineModuleExtensionImpl original) {
  myProperties = XmlSerializerUtil.createCopy(original.myProperties);
}
项目:lua-for-idea    文件:LuaProjectSettings.java   
public void loadState(LuaProjectSettings state) {
     XmlSerializerUtil.copyBean(state, this);
}
项目:phpstorm-phpfmt    文件:Settings.java   
@Override
public void loadState(Settings settings) {
    XmlSerializerUtil.copyBean(settings, this);
}
项目:cup-plugin    文件:CupSettings.java   
@Override
public void loadState(CupSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}