net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, RuleAbstractDomXmlRule, AbstractWsdlRulepublic class AbstractXmlRule extends net.sourceforge.pmd.lang.rule.AbstractRule implements net.sourceforge.pmd.lang.rule.ImmutableLanguage
visit(XmlNode, RuleContext) and can call super to visit
children.propertyDescriptors, propertyValuesByDescriptorVIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR| Modifier | Constructor | Description |
|---|---|---|
|
AbstractXmlRule() |
|
protected |
AbstractXmlRule(Language language) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
RuleContext ctx) |
|
ParserOptions |
getParserOptions() |
|
protected void |
visit(XmlNode node,
RuleContext ctx) |
|
protected void |
visitAll(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
RuleContext ctx) |
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesaddExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, deepCopy, deepCopyValuesTo, end, equals, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, hashCode, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, setUsesTypeResolution, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolutionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuespublic static final net.sourceforge.pmd.properties.BooleanProperty COALESCING_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty VALIDATING_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
public AbstractXmlRule()
protected AbstractXmlRule(Language language)
public ParserOptions getParserOptions()
getParserOptions in interface RulegetParserOptions in class net.sourceforge.pmd.lang.rule.AbstractRulepublic void apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes, RuleContext ctx)
protected void visitAll(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes, RuleContext ctx)
protected void visit(XmlNode node, RuleContext ctx)
Copyright © 2002–2018 PMD. All rights reserved.