-
-
Field Summary
-
Fields inherited from class com.hp.hpl.jena.graph.query.Element
ANY
-
Constructor Summary
Constructors
Constructor and Description |
Fixed(Node x)
Initialise this element with its single matching value: remember that value.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
Node |
asNodeMatch(Domain d)
Answer the Node we represent given the variable-bindings Domain.
|
boolean |
match(Domain d,
Node x)
Answer true iff we are matched against a node with the same value as ours.
|
String |
toString() |
-
-
Method Detail
-
match
public boolean match(Domain d,
Node x)
Answer true iff we are matched against a node with the same value as ours.
- Specified by:
match
in class Element
- Parameters:
d
- the domain with bound values (ignored)x
- the node we are to match
- Returns:
- true iff our value is the same as his
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP