本文整理汇总了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);
}
示例2: getDefaultExtension
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("defaultExtension")
@NotNull
public String getDefaultExtension() {
return defaultExtension;
}
示例3: getBootstrapFile
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("bootstrapFile")
@Nullable
public String getBootstrapFile() {
return PhpConfigurationUtil.deserializePath(bootstrapFile);
}
示例4: getSourceNamespace
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("sourceNamespace")
@NotNull
public String getSourceNamespace() {
return sourceNamespace;
}
示例5: getTestsNamespace
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("testsNamespace")
@NotNull
public String getTestsNamespace() {
return testsNamespace;
}
示例6: isRecursive
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute
public boolean isRecursive() {
return myRecursive;
}
示例7: getSimpletestUrl
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("simpletest_url")
@Nullable
public String getSimpletestUrl() {
return this.mySimpletestUrl;
}
示例8: getSimpletestDb
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("simpletest_db")
@Nullable
public String getSimpletestDb() {
return this.mySimpletestDb;
}
示例9: isUsingSqlite
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("use_sqlite")
public boolean isUsingSqlite() {
return this.myUseSqlite;
}
示例10: getSqliteDb
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("sqlite_db")
public String getSqliteDb() {
return this.mySqliteDb;
}
示例11: hasVerboseOutput
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("verbose")
public boolean hasVerboseOutput() {
return this.myVerboseOutput;
}
示例12: hasColorOutput
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("color")
public boolean hasColorOutput() {
return this.myColorOutput;
}
示例13: getTestGroup
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("test_group")
public int getTestGroup() {
return this.myTestGroup;
}
示例14: getTestGroupExtra
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("test_group_extra")
public String getTestGroupExtra() {
return this.myTestGroupExtra;
}
示例15: getTestConcurrency
import com.intellij.util.xmlb.annotations.Attribute; //导入依赖的package包/类
@Attribute("concurrency")
public int getTestConcurrency() {
return this.myTestConcurrency;
}