public static class XmlTagRuleProviderBase.RequireAttributeOneOf extends XmlTagRuleProviderBase.ShouldHaveParams
EMPTY_ARRAY
Constructor and Description |
---|
RequireAttributeOneOf(ProblemHighlightType problemHighlightType,
java.lang.String... attributeNames) |
RequireAttributeOneOf(java.lang.String... attributeNames) |
Modifier and Type | Method and Description |
---|---|
void |
annotate(XmlTag tag,
ProblemsHolder holder) |
java.lang.String[] |
getAttributeNames() |
needAtLeastOneAttribute
public RequireAttributeOneOf(java.lang.String... attributeNames)
public RequireAttributeOneOf(ProblemHighlightType problemHighlightType, java.lang.String... attributeNames)
public java.lang.String[] getAttributeNames()
public void annotate(XmlTag tag, ProblemsHolder holder)
annotate
in class XmlTagRuleProvider.Rule