public class Node_Variable extends Node_Fluid
| Modifier and Type | Class and Description |
|---|---|
static class |
Node_Variable.VariableName |
Node.NotLiteral| Constructor and Description |
|---|
Node_Variable(String name)
Initialise this Node_Variable from a string
name,
which becomes wrapped in a VariableName. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Nodes only equal other Nodes that have equal labels.
|
String |
getName()
get a variable nodes name, otherwise die horribly
|
boolean |
isVariable()
Answer true iff this node is a variable node - subclasses override
|
String |
toString()
Answer a human-readable representation of this Node.
|
static Object |
variable(String name) |
Object |
visitWith(NodeVisitor v)
Visit a Node and dispatch on it to the appropriate method from the
NodeVisitor
v. |
isConcretecreate, 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, hashCode, hasURI, isBlank, isLiteral, isURI, matches, sameValueAs, toString, toString, toStringpublic Node_Variable(String name)
name,
which becomes wrapped in a VariableName.public String getName()
Nodepublic Object visitWith(NodeVisitor v)
Nodev.public boolean isVariable()
NodeisVariable in class Nodepublic String toString()
Nodepublic boolean equals(Object other)
NodeLicenced under the Apache License, Version 2.0