Class XPathUtil.StepList

    • Method Detail

      • containsPredicate

        public boolean containsPredicate()
      • equalsIgnoreIndex

        public boolean equalsIgnoreIndex​(XPathUtil.StepList propertyName)
        Compares this StepList with another for equivalence regardless of the indexes of each Step.
        Returns:
        true if this step list has the same location paths than propertyName ignoring the indexes in each step. false otherwise.
      • setIndex

        public void setIndex​(int index,
                             String xpath,
                             String separator)
        Find the first steps matching the xpath within this list, and set an index to it.
        Parameters:
        index - the new index for the matching steps
        xpath - the xpath to be searched