Class TriplePatternElementFactory.Variable<CTT,NVT,AVT>
- java.lang.Object
-
- org.linkeddatafragments.fragments.tpf.TriplePatternElementFactory.Variable<CTT,NVT,AVT>
-
- Type Parameters:
CTT-NVT-AVT-
- All Implemented Interfaces:
ITriplePatternElement<CTT,NVT,AVT>
- Direct Known Subclasses:
TriplePatternElementFactory.SpecificVariable,TriplePatternElementFactory.UnspecifiedVariable
- Enclosing class:
- TriplePatternElementFactory<CTT,NVT,AVT>
public abstract static class TriplePatternElementFactory.Variable<CTT,NVT,AVT> extends Object implements ITriplePatternElement<CTT,NVT,AVT>
-
-
Constructor Summary
Constructors Constructor Description Variable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTTasConstantTerm()Returns a representation of this element as a constant RDF term (i.e., a URI or a literal).booleanisVariable()Returns true if this element is a variable (specific or unspecified).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linkeddatafragments.fragments.tpf.ITriplePatternElement
asAnonymousVariable, asNamedVariable, isAnonymousVariable, isNamedVariable, isSpecificVariable
-
-
-
-
Method Detail
-
isVariable
public boolean isVariable()
Description copied from interface:ITriplePatternElementReturns true if this element is a variable (specific or unspecified).- Specified by:
isVariablein interfaceITriplePatternElement<CTT,NVT,AVT>- Returns:
-
asConstantTerm
public CTT asConstantTerm()
Description copied from interface:ITriplePatternElementReturns a representation of this element as a constant RDF term (i.e., a URI or a literal).- Specified by:
asConstantTermin interfaceITriplePatternElement<CTT,NVT,AVT>- Returns:
-
-