eworks.RDF.model
Class Value
java.lang.Object
eworks.RDF.model.Value
- Direct Known Subclasses:
- LiteralValue, Variable
- public abstract class Value
- extends Object
Abstract base class for all "values". Values are RDF componentes, that can be
evaluated to a single value, example given variables or literals.
- Version:
- 1.00 (2003-11-03)
- Author:
- Fabian Wleklinski (fabian@wleklinski.de)
Constructor Summary |
protected |
Value()
Creates a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Value
protected Value()
- Creates a new instance.
getValue
public abstract LiteralValue getValue(SymbolTable symbols)
throws VariableNotBoundException
- Returns this value's literal value, according to a given symbol table.
Derived classes have to implement this method to return a class-specific
evaluated literal.
- Parameters:
symbols
- The symbol table to use, if a symbol table is needed.
- Returns:
- This value's literal value.
- Throws:
VariableNotBoundException
- if a needed variable is not bound inside
the given symbol table (symbols
).