org.openrdf.sesame.query.serql.parser
Class PathElement
java.lang.Object
org.openrdf.sesame.query.serql.parser.PathElement
- Direct Known Subclasses:
- ReifiedPathElement
- public class PathElement
- extends Object
PathElement
public PathElement(List subjectVars,
Var edge,
List objectVars)
- Creates a new PathElement.
- Parameters:
subjectVars - Left node of this PathElement.edge - Edge of this PathElement.objectVars - Right node of this PathElement.
getSubjectVars
public List getSubjectVars()
getEdge
public Var getEdge()
getObjectVars
public List getObjectVars()
getTriplePatterns
public List getTriplePatterns()
- Creates a list of triple patterns that can represent this path element.
- Returns:
- A List of TriplePattern objects.
toString
public String toString()
- Returns String representation of this Path_expr.
- Returns:
- String representation of this Path_expr.
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.