本文整理汇总了Java中com.intellij.util.xml.SubTag类的典型用法代码示例。如果您正苦于以下问题:Java SubTag类的具体用法?Java SubTag怎么用?Java SubTag使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SubTag类属于com.intellij.util.xml包,在下文中一共展示了SubTag类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: invoke
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
@Override
public Object invoke(final DomInvocationHandler<?, ?> handler, final Object[] args) throws Throwable {
handler.assertValid();
final SubTag annotation = handler.getAnnotation(SubTag.class);
final Object arg = args[0];
if (annotation != null && annotation.indicator() && arg instanceof Boolean) {
if ((Boolean)arg) {
handler.ensureTagExists();
} else {
handler.undefineInternal();
}
} else {
String value = myConverter.toString(arg, new ConvertContextImpl(handler));
if (value == null) {
handler.undefineInternal();
} else {
handler.setValue(value);
}
}
return null;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:22,代码来源:SetInvocation.java
示例2: invoke
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
public Object invoke(final DomInvocationHandler<?, ?> handler, final Object[] args) throws Throwable {
handler.assertValid();
final SubTag annotation = handler.getAnnotation(SubTag.class);
final Object arg = args[0];
if (annotation != null && annotation.indicator() && arg instanceof Boolean) {
if ((Boolean)arg) {
handler.ensureTagExists();
} else {
handler.undefineInternal();
}
} else {
String value = myConverter.toString(arg, new ConvertContextImpl(handler));
if (value == null) {
handler.undefineInternal();
} else {
handler.setValue(value);
}
}
return null;
}
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:21,代码来源:SetInvocation.java
示例3: getChild2
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
@SubTag(value = "child", index = 1)
MyElement getChild2();
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:3,代码来源:IncrementalUpdateEventsTest.java
示例4: getClasspathElement
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
@SubTag("classpath")
public abstract AntDomClasspath getClasspathElement();
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:3,代码来源:AntDomScriptDef.java
示例5: getDefaultValue
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the defaultvalue child.
* <pre>
* <h3>Element null:defaultvalue documentation</h3>
* Configures a default value for this attribute used if no value is provided. The default value is calculated by initialization and will not be re-calculated by runtime.
* </pre>
*
* @return the value of the defaultvalue child.
*/
@NotNull
@SubTag("defaultvalue")
GenericDomValue<String> getDefaultValue();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例6: getDescription
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the description child.
* <pre>
* <h3>Element null:description documentation</h3>
* Gives a description for this attribute only used for the javadoc of generated attribute methods.
* </pre>
*
* @return the value of the description child.
*/
@NotNull
@SubTag("description")
Description getDescription();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例7: getPersistence
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the persistence child.
* <pre>
* <h3>Element null:persistence documentation</h3>
* Defines how the values of the attribute will be stored. Possible values: 'cmp' (deprecated), 'jalo' (not persistent, deprecated), 'property' (persistent), 'dynamic' (not persisted).
* </pre>
*
* @return the value of the persistence child.
*/
@NotNull
@SubTag("persistence")
Persistence getPersistence();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例8: getModifiers
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the modifiers child.
* <pre>
* <h3>Element null:modifiers documentation</h3>
* Configures advanced settings for this attribute definition.
* </pre>
*
* @return the value of the modifiers child.
*/
@NotNull
@SubTag("modifiers")
Modifiers getModifiers();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例9: getCustomProperties
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the custom-properties child.
* <pre>
* <h3>Element null:custom-properties documentation</h3>
* Allows to configure custom properties for this attribute.
* </pre>
*
* @return the value of the custom-properties child.
*/
@NotNull
@SubTag("custom-properties")
CustomProperties getCustomProperties();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例10: getModel
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the model child.
* <pre>
* <h3>Element null:model documentation</h3>
* Allows to configure model generation settings for this attribute. Models are used by the hybris ServiceLayer.
* </pre>
*
* @return the value of the model child.
*/
@NotNull
@SubTag("model")
AttributeModel getModel();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Attribute.java
示例11: getValue
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the value child.
* <pre>
* <h3>Element null:value documentation</h3>
* The value of the custom property.
* </pre>
*
* @return the value of the value child.
*/
@NotNull
@SubTag("value")
@Required
GenericDomValue<String> getValue();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:14,代码来源:CustomProperty.java
示例12: getDescription
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the description child.
* <pre>
* <h3>Element null:description documentation</h3>
* Provides possibility to add meaningfull description phrase for a generated model class.
* </pre>
*
* @return the value of the description child.
*/
@NotNull
@SubTag("description")
GenericDomValue<String> getDescription();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Relation.java
示例13: getDeployment
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the deployment child.
* <pre>
* <h3>Element null:deployment documentation</h3>
* Configures deployment information for this relation (table name and typecode).
* </pre>
*
* @return the value of the deployment child.
*/
@NotNull
@SubTag("deployment")
Deployment getDeployment();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:Relation.java
示例14: getSourceElement
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the sourceElement child.
* <pre>
* <h3>Element null:sourceElement documentation</h3>
* Configures the generated attribute at source relation end
* </pre>
*
* @return the value of the sourceElement child.
*/
@NotNull
@SubTag("sourceElement")
@Required
RelationElement getSourceElement();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:14,代码来源:Relation.java
示例15: getTargetElement
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the targetElement child.
* <pre>
* <h3>Element null:targetElement documentation</h3>
* Configures the generated attribute at target relation end
* </pre>
*
* @return the value of the targetElement child.
*/
@NotNull
@SubTag("targetElement")
@Required
RelationElement getTargetElement();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:14,代码来源:Relation.java
示例16: getDescription
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the description child.
* <pre>
* <h3>Element null:description documentation</h3>
* Provides possibility to add meaningfull description phrase for a generated model class.
* </pre>
*
* @return the value of the description child.
*/
@NotNull
@SubTag("description")
Description getDescription();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:ItemType.java
示例17: getDeployment
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the deployment child.
* <pre>
* <h3>Element null:deployment documentation</h3>
* A deployment defines how a (generic) item or relation is mapped onto the database.
* </pre>
*
* @return the value of the deployment child.
*/
@NotNull
@SubTag("deployment")
Deployment getDeployment();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:ItemType.java
示例18: getCustomProperties
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the custom-properties child.
* <pre>
* <h3>Element null:custom-properties documentation</h3>
* Defines a list of custom properties for this type.
* </pre>
*
* @return the value of the custom-properties child.
*/
@NotNull
@SubTag("custom-properties")
CustomProperties getCustomProperties();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:ItemType.java
示例19: getAttributes
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the attributes child.
* <pre>
* <h3>Element null:attributes documentation</h3>
* Defines the list of item attributes.
* </pre>
*
* @return the value of the attributes child.
*/
@NotNull
@SubTag("attributes")
Attributes getAttributes();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:ItemType.java
示例20: getIndexes
import com.intellij.util.xml.SubTag; //导入依赖的package包/类
/**
* Returns the value of the indexes child.
* <pre>
* <h3>Element null:indexes documentation</h3>
* Defines the database indexes for this type.
* </pre>
*
* @return the value of the indexes child.
*/
@NotNull
@SubTag("indexes")
Indexes getIndexes();
开发者ID:AlexanderBartash,项目名称:hybris-integration-intellij-idea-plugin,代码行数:13,代码来源:ItemType.java
注:本文中的com.intellij.util.xml.SubTag类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论