Package org.apache.jena.sparql.pfunction
Class PropFuncArg
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.pfunction.PropFuncArg
-
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable,PrintSerializable
public class PropFuncArg extends PrintSerializableBase
Class representing an argument (subject or object position) of a property function. Such an argument can be a graph node (variable, IRI, literal). Blank nodes from the query will be seen as variables. Most implementations will want to work with the property function arguments after substitution from the current binding.
-
-
Constructor Summary
Constructors Constructor Description PropFuncArg(java.util.List<Node> argList)PropFuncArg(java.util.List<Node> argList, Node arg)PropFuncArg(Node arg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddVars(java.util.Collection<Var> acc, PropFuncArg pfArg)ExprListasExprList()booleanequals(java.lang.Object other)NodegetArg()NodegetArg(int index)java.util.List<Node>getArgList()intgetArgListSize()inthashCode()booleanisList()booleanisNode()voidoutput(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)-
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
output, toString, toString
-
-
-
-
Method Detail
-
getArg
public Node getArg()
-
getArgList
public java.util.List<Node> getArgList()
-
getArgListSize
public int getArgListSize()
-
getArg
public Node getArg(int index)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
isList
public boolean isList()
-
isNode
public boolean isNode()
-
asExprList
public ExprList asExprList()
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt)
-
addVars
public static void addVars(java.util.Collection<Var> acc, PropFuncArg pfArg)
-
-