Class XmlXPathRule

  • All Implemented Interfaces:
    net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.Rule

    public class XmlXPathRule
    extends net.sourceforge.pmd.lang.rule.XPathRule
    • Field Summary

      Fields 
      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  
      • Fields inherited from class net.sourceforge.pmd.lang.rule.XPathRule

        VERSION_DESCRIPTOR, XPATH_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
      XmlXPathRule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.sourceforge.pmd.lang.ParserOptions getParserOptions()  
      • Methods inherited from class net.sourceforge.pmd.lang.rule.XPathRule

        apply, dysfunctionReason, evaluate, getRuleChainVisits, setVersion, setXPath
      • 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, 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, 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, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
    • Field Detail

      • COALESCING_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty COALESCING_DESCRIPTOR
      • EXPAND_ENTITY_REFERENCES_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
      • IGNORING_COMMENTS_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
      • IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
      • NAMESPACE_AWARE_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
      • VALIDATING_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty VALIDATING_DESCRIPTOR
      • XINCLUDE_AWARE_DESCRIPTOR

        public static final net.sourceforge.pmd.properties.BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
    • Constructor Detail

      • XmlXPathRule

        public XmlXPathRule()
    • Method Detail

      • getParserOptions

        public net.sourceforge.pmd.lang.ParserOptions getParserOptions()
        Specified by:
        getParserOptions in interface net.sourceforge.pmd.Rule
        Overrides:
        getParserOptions in class net.sourceforge.pmd.lang.rule.AbstractRule