public class Var extends Node_Variable
Node_Variable.VariableName
Node.NotLiteral
Modifier and Type | Method and Description |
---|---|
static Var |
alloc(ExprVar nv) |
static Var |
alloc(Node_Variable v) |
static Var |
alloc(Node v) |
static Var |
alloc(String varName) |
static Var |
alloc(Var v) |
Node |
asNode() |
static String |
canonical(String x) |
boolean |
equals(Object other) |
String |
getVarName() |
int |
hashCode() |
boolean |
isAllocVar() |
static boolean |
isAllocVar(Node node) |
static boolean |
isAllocVarName(String x) |
boolean |
isAnonVar() |
static boolean |
isAnonVar(Var var) |
boolean |
isBlankNodeVar() |
static boolean |
isBlankNodeVar(Node node) |
static boolean |
isBlankNodeVarName(String x) |
boolean |
isNamedVar() |
static boolean |
isNamedVar(Node node) |
static boolean |
isNamedVarName(String x) |
static boolean |
isRenamedVar(Node node) |
static boolean |
isRenamedVar(String x) |
static boolean |
isVar(Node node) |
static Node |
lookup(Binding binding,
Node node) |
static Node |
lookup(Binding binding,
Var var) |
static List<Var> |
varList(Collection<String> varNames)
Convert a collection of variable names to variables
|
static List<String> |
varNames(Collection<Var> vars)
Return a list of String names from a collection of variables
|
getName, isVariable, toString, variable, visitWith
isConcrete
create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createUncachedLiteral, createUncachedLiteral, createURI, createVariable, getBlankNodeId, getBlankNodeLabel, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getNameSpace, getType, getURI, hasURI, isBlank, isLiteral, isURI, matches, sameValueAs, toString, toString, toString
public static Var ANON
public static Var alloc(Node_Variable v)
public Node asNode()
public String getVarName()
public boolean equals(Object other)
equals
in class Node_Variable
public boolean isNamedVar()
public boolean isBlankNodeVar()
public boolean isAllocVar()
public boolean isAnonVar()
public static boolean isVar(Node node)
public static boolean isRenamedVar(Node node)
public static boolean isRenamedVar(String x)
public static boolean isNamedVar(Node node)
public static boolean isNamedVarName(String x)
public static boolean isBlankNodeVar(Node node)
public static boolean isBlankNodeVarName(String x)
public static boolean isAllocVar(Node node)
public static boolean isAllocVarName(String x)
public static List<Var> varList(Collection<String> varNames)
public static boolean isAnonVar(Var var)
public static List<String> varNames(Collection<Var> vars)
Licenced under the Apache License, Version 2.0