Class SaxonXPathRuleQuery

    • Constructor Detail

      • SaxonXPathRuleQuery

        @Deprecated
        public SaxonXPathRuleQuery()
        Deprecated.
      • SaxonXPathRuleQuery

        public SaxonXPathRuleQuery​(net.sourceforge.pmd.lang.ast.xpath.internal.DeprecatedAttrLogger attrCtx)
        Deprecated.
    • Method Detail

      • isSupportedVersion

        public boolean isSupportedVersion​(String version)
        Deprecated.
        Description copied from class: AbstractXPathRuleQuery
        Subclasses should implement to indicate whether an XPath version is supported.
        Specified by:
        isSupportedVersion in class AbstractXPathRuleQuery
        Parameters:
        version - The XPath version.
        Returns:
        true if the XPath version is supported, false otherwise.
      • getAtomicRepresentation

        public static net.sf.saxon.value.AtomicValue getAtomicRepresentation​(Object value)
        Deprecated.
        Gets the Saxon representation of the parameter, if its type corresponds to an XPath 2.0 atomic datatype.
        Parameters:
        value - The value to convert
        Returns:
        The converted AtomicValue
      • getSequenceRepresentation

        public static net.sf.saxon.value.Value getSequenceRepresentation​(List<?> list)
        Deprecated.
      • getRuleChainVisits

        public List<String> getRuleChainVisits()
        Deprecated.
        Description copied from interface: XPathRuleQuery
        Indicates which AST Nodes (if any) should be used with the RuleChain. Use of the RuleChain will allow the query execute on a targed sub-tree of the AST, instead of the entire AST from the root. This can result in great performance benefits.
        Specified by:
        getRuleChainVisits in interface XPathRuleQuery
        Overrides:
        getRuleChainVisits in class AbstractXPathRuleQuery
      • getNamePool

        public static net.sf.saxon.om.NamePool getNamePool()
        Deprecated.