Class AbstractDomXmlRule
- java.lang.Object
-
- net.sourceforge.pmd.properties.AbstractPropertySource
-
- net.sourceforge.pmd.lang.rule.AbstractRule
-
- net.sourceforge.pmd.lang.xml.rule.AbstractXmlRule
-
- net.sourceforge.pmd.lang.xml.rule.AbstractDomXmlRule
-
- All Implemented Interfaces:
ImmutableLanguage
,PropertySource
,Rule
@Deprecated public class AbstractDomXmlRule extends AbstractXmlRule
Deprecated.Not very useful, use XPath rules.This is a base class for XML Java bases rules that which to visit the nodes using the DOM. Subclasses should override the DOM appropriate method and can callsuper
to visit children.
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.xml.rule.AbstractXmlRule
COALESCING_DESCRIPTOR, EXPAND_ENTITY_REFERENCES_DESCRIPTOR, IGNORING_COMMENTS_DESCRIPTOR, IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR, NAMESPACE_AWARE_DESCRIPTOR, VALIDATING_DESCRIPTOR, XINCLUDE_AWARE_DESCRIPTOR
-
Fields inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
propertyDescriptors, propertyValuesByDescriptor
-
Fields inherited from interface net.sourceforge.pmd.Rule
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
-
-
Constructor Summary
Constructors Constructor Description AbstractDomXmlRule()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
visit(XmlNode node, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Attr attr, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, CharacterData characterData, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Comment comment, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Document document, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, DocumentType documentType, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Element element, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, EntityReference entityReference, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Entity entity, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Notation notation, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, ProcessingInstruction processingInstruction, RuleContext ctx)
Deprecated.protected void
visit(XmlNode node, Text text, RuleContext ctx)
Deprecated.protected void
visitAttributeNodes(XmlNode node, Node domNode, RuleContext ctx)
Deprecated.protected void
visitDomNode(XmlNode node, Node domNode, RuleContext ctx)
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.xml.rule.AbstractXmlRule
apply, getParserOptions, visitAll
-
Methods inherited from class net.sourceforge.pmd.lang.rule.AbstractRule
addExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, deepCopy, deepCopyValuesTo, end, equals, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getPriority, getPropertySourceType, 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, usesTypeResolution
-
Methods inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.properties.PropertySource
definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
-
-
-
Method Detail
-
visit
protected void visit(XmlNode node, RuleContext ctx)
Deprecated.- Overrides:
visit
in classAbstractXmlRule
-
visitDomNode
protected void visitDomNode(XmlNode node, Node domNode, RuleContext ctx)
Deprecated.
-
visitAttributeNodes
protected void visitAttributeNodes(XmlNode node, Node domNode, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Attr attr, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, CharacterData characterData, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Comment comment, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Document document, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, DocumentType documentType, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Element element, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Entity entity, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, EntityReference entityReference, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Notation notation, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, ProcessingInstruction processingInstruction, RuleContext ctx)
Deprecated.
-
visit
protected void visit(XmlNode node, Text text, RuleContext ctx)
Deprecated.
-
-