CTT - NVT - AVT - public static class TriplePatternElementFactory.AnonymousVariable<CTT,NVT,AVT> extends TriplePatternElementFactory.SpecificVariable<CTT,NVT,AVT>
| Constructor and Description |
|---|
AnonymousVariable(AVT bnode) |
| Modifier and Type | Method and Description |
|---|---|
AVT |
asAnonymousVariable()
Returns a representation of this element as a blank node (assuming
it is a specific, but non-named variable).
|
NVT |
asNamedVariable()
Returns a representation of this element as a named variable (assuming
it is a specific variable that has a name).
|
boolean |
isAnonymousVariable()
Returns true if this element is a specific variable that does not have
a name (i.e., it is denoted by a blank node), and false if either it is
not a specific variable or it is a specific variable that has a name.
|
boolean |
isNamedVariable()
Returns true if this element is a specific variable that has a name
(i.e., it is denoted by a string that begins with a question mark),
and false if either it is not a specific variable or it is a specific
variable that is denoted by a blank node.
|
String |
toString() |
isSpecificVariableasConstantTerm, isVariableprotected final AVT bn
public AnonymousVariable(AVT bnode)
bnode - public boolean isNamedVariable()
ITriplePatternElementITriplePatternElement.asNamedVariable().public NVT asNamedVariable()
ITriplePatternElementpublic boolean isAnonymousVariable()
ITriplePatternElementITriplePatternElement.asAnonymousVariable().public AVT asAnonymousVariable()
ITriplePatternElementCopyright © 2021. All rights reserved.