public class PathEqualityTest<Node> extends NodeTest<Node>
| Constructor and Description |
|---|
PathEqualityTest(NodeSelector<Node> path,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(RDFBackend<Node> rdfBackend,
Node context,
Node candidate)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
equals(Object o) |
String |
getDescription()
A short human-readable description of what the node function does.
|
String |
getPathExpression(NodeBackend<Node> rdfBackend)
Return the representation of the NodeFunction or NodeSelector in the RDF Path Language
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
int |
hashCode() |
protected final Node node
public PathEqualityTest(NodeSelector<Node> path, Node node)
public boolean accept(RDFBackend<Node> rdfBackend, Node context, Node candidate) throws IllegalArgumentException
accept in class NodeTest<Node>args - a nested list of KiWiNodesIllegalArgumentExceptionpublic String getPathExpression(NodeBackend<Node> rdfBackend)
rdfBackend - public String getSignature()
public String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.