当前位置: 首页>>代码示例>>Java>>正文


Java Attribute类代码示例

本文整理汇总了Java中com.intellij.util.xmlb.annotations.Attribute的典型用法代码示例。如果您正苦于以下问题:Java Attribute类的具体用法?Java Attribute怎么用?Java Attribute使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


Attribute类属于com.intellij.util.xmlb.annotations包,在下文中一共展示了Attribute类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: serialize

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Override
@Nullable
public Object serialize(@NotNull Object o, @Nullable Object context, @NotNull SerializationFilter filter) {
  Object value = myAccessor.read(o);
  if (value == null) {
    return null;
  }

  String stringValue;
  if (myConverter == null) {
    stringValue = XmlSerializerImpl.convertToString(value);
  }
  else {
    stringValue = myConverter.toString(value);
  }
  return new org.jdom.Attribute(myName, stringValue);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:18,代码来源:AttributeBinding.java

示例2: getDefaultExtension

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("defaultExtension")
@NotNull
public String getDefaultExtension() {
    return defaultExtension;
}
 
开发者ID:jiripudil,项目名称:intellij-nette-tester,代码行数:6,代码来源:TesterProjectSettings.java

示例3: getBootstrapFile

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("bootstrapFile")
@Nullable
public String getBootstrapFile() {
    return PhpConfigurationUtil.deserializePath(bootstrapFile);
}
 
开发者ID:jiripudil,项目名称:intellij-nette-tester,代码行数:6,代码来源:TesterProjectSettings.java

示例4: getSourceNamespace

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("sourceNamespace")
@NotNull
public String getSourceNamespace() {
    return sourceNamespace;
}
 
开发者ID:jiripudil,项目名称:intellij-nette-tester,代码行数:6,代码来源:TesterNamespaceMapping.java

示例5: getTestsNamespace

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("testsNamespace")
@NotNull
public String getTestsNamespace() {
    return testsNamespace;
}
 
开发者ID:jiripudil,项目名称:intellij-nette-tester,代码行数:6,代码来源:TesterNamespaceMapping.java

示例6: isRecursive

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute
public boolean isRecursive() {
  return myRecursive;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:SearchScope.java

示例7: getSimpletestUrl

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("simpletest_url")
@Nullable
public String getSimpletestUrl() {
    return this.mySimpletestUrl;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:6,代码来源:DrupalRunConfiguration.java

示例8: getSimpletestDb

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("simpletest_db")
@Nullable
public String getSimpletestDb() {
    return this.mySimpletestDb;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:6,代码来源:DrupalRunConfiguration.java

示例9: isUsingSqlite

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("use_sqlite")
public boolean isUsingSqlite() {
    return this.myUseSqlite;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例10: getSqliteDb

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("sqlite_db")
public String getSqliteDb() {
    return this.mySqliteDb;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例11: hasVerboseOutput

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("verbose")
public boolean hasVerboseOutput() {
    return this.myVerboseOutput;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例12: hasColorOutput

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("color")
public boolean hasColorOutput() {
    return this.myColorOutput;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例13: getTestGroup

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("test_group")
public int getTestGroup() {
    return this.myTestGroup;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例14: getTestGroupExtra

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("test_group_extra")
public String getTestGroupExtra() {
    return this.myTestGroupExtra;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java

示例15: getTestConcurrency

import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("concurrency")
public int getTestConcurrency() {
    return this.myTestConcurrency;
}
 
开发者ID:mglaman,项目名称:intellij-drupal-run-tests,代码行数:5,代码来源:DrupalRunConfiguration.java


注:本文中的com.intellij.util.xmlb.annotations.Attribute类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。