Class XPathWalker

    • Field Detail

      • writer

        protected final java.io.PrintWriter writer
      • pathsFound

        protected java.util.Set<java.lang.String> pathsFound
    • Constructor Detail

      • XPathWalker

        public XPathWalker​(java.io.File xpathOutput)
                    throws java.io.FileNotFoundException
        Parameters:
        xpathOutput -
        Throws:
        java.io.FileNotFoundException
      • XPathWalker

        public XPathWalker​(java.io.PrintWriter w)
        Parameters:
        w -
    • Method Detail

      • walkAll

        public int walkAll​(KElement e)
        Parameters:
        e -
        Returns:
        the number of xpaths
      • setAttribute

        public void setAttribute​(boolean attribute)
        if true, include attributes
        Parameters:
        attribute -
      • setAttributeValue

        public void setAttributeValue​(boolean attribute)
        if true, include attribute values
        Parameters:
        attribute -
      • setMethod

        public void setMethod​(int method)
        Parameters:
        method - the method to set
      • setUnique

        public void setUnique​(boolean unique)
        Parameters:
        unique - the method to set
      • setDatatype

        public void setDatatype​(boolean datatype)
        Parameters:
        datatype - the bDatatype to set
      • setSeparator

        public void setSeparator​(java.lang.String separator)
        Parameters:
        separator - the separator to set
      • setBElement

        public void setBElement​(boolean element)
        Parameters:
        element - the bElement to set