| java.lang.Object com.hp.hpl.jena.graph.query.Element com.hp.hpl.jena.graph.query.Fixed
Fixed | public class Fixed extends Element (Code) | | An Element that matches a single specified value.
author: hedgehog |
Constructor Summary | |
public | Fixed(Node x) Initialise this element with its single matching value: remember that value. |
Fixed | public Fixed(Node x)(Code) | | Initialise this element with its single matching value: remember that value.
|
asNodeMatch | public Node asNodeMatch(Domain d)(Code) | | Answer the Node we represent given the variable-bindings Domain.
Parameters: d - the variable bindings to use (ignored) our fixed value |
match | public boolean match(Domain d, Node x)(Code) | | Answer true iff we are matched against a node with the same value as ours.
Parameters: d - the domain with bound values (ignored) Parameters: x - the node we are to match true iff our value is the same as his |
|
|