net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.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.| Modifier and Type | Field | Description |
|---|---|---|
static net.sourceforge.pmd.properties.BooleanProperty |
COALESCING_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
EXPAND_ENTITY_REFERENCES_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
IGNORING_COMMENTS_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
NAMESPACE_AWARE_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
VALIDATING_DESCRIPTOR |
|
static net.sourceforge.pmd.properties.BooleanProperty |
XINCLUDE_AWARE_DESCRIPTOR |
| Modifier | Constructor | Description |
|---|---|---|
|
AbstractXmlRule() |
|
protected |
AbstractXmlRule(net.sourceforge.pmd.lang.Language language) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
net.sourceforge.pmd.RuleContext ctx) |
|
net.sourceforge.pmd.lang.ParserOptions |
getParserOptions() |
|
protected void |
visit(XmlNode node,
net.sourceforge.pmd.RuleContext ctx) |
|
protected void |
visitAll(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
net.sourceforge.pmd.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(net.sourceforge.pmd.lang.Language language)
public net.sourceforge.pmd.lang.ParserOptions getParserOptions()
getParserOptions in interface net.sourceforge.pmd.RulegetParserOptions in class net.sourceforge.pmd.lang.rule.AbstractRulepublic void apply(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
net.sourceforge.pmd.RuleContext ctx)
apply in interface net.sourceforge.pmd.Ruleprotected void visitAll(java.util.List<? extends net.sourceforge.pmd.lang.ast.Node> nodes,
net.sourceforge.pmd.RuleContext ctx)
protected void visit(XmlNode node, net.sourceforge.pmd.RuleContext ctx)
Copyright © 2002–2018 PMD. All rights reserved.