com.hp.hpl.jena.graph.query
Class Expression.Variable
java.lang.Object
com.hp.hpl.jena.graph.query.Expression.Base
com.hp.hpl.jena.graph.query.Expression.Variable
- All Implemented Interfaces:
- Expression
- Enclosing interface:
- Expression
public abstract static class Expression.Variable
- extends Expression.Base
An abstract base class for variable nodes; subclasses implement getName().
Method Summary |
abstract String |
getName()
If this Expression is a variable, answer a [non-null] String which is its name. |
boolean |
isVariable()
Answer true iff this Expression represents a variable. |
Expression.Variable
public Expression.Variable()
isVariable
public boolean isVariable()
- Description copied from interface:
Expression
- Answer true iff this Expression represents a variable.
- Specified by:
isVariable
in interface Expression
- Overrides:
isVariable
in class Expression.Base
getName
public abstract String getName()
- Description copied from interface:
Expression
- If this Expression is a variable, answer a [non-null] String which is its name.
Otherwise the behaviour is unspecified.
- Specified by:
getName
in interface Expression
- Overrides:
getName
in class Expression.Base
Licenced under the Apache License, Version 2.0