PathFunction
case
class PathFunction(node: Node, function: XPathFunction, attributes: List[String], attributeValues: Map[String, String], exactMatch: Boolean, textMessage: Option[String], textMatcher: Matcher[String]) extends Seq[Node] => Seq[Node] with XPathFunctions
The PathFunction object encapsulate a search for a node and/or attributes or attributeValues with an XPath function
If node
has some children, then they are searched using equality
trait Serializable
trait Product
trait Equals
trait XPathFunctions
trait Seq[Node] => Seq[Node]
class Object
trait Matchable
class Any
Type members
Inherited types
Value members
Concrete methods
- Returns
the node if it is found and matching the searched attributes and/or attribute values when specified
- Returns
"subnode" or "node" depending on the type of search a direct child search or a general search
- Returns
a string representation of attributes or attributeValues (one of them being empty by construction)