Interface TermFactory
- All Known Implementing Classes:
DefaultTermFactory
public interface TermFactory
Factory for creating variables, constants, literals, and copied terms.
- Author:
- Clément Sipieter (INRIA) <clement@6pi.fr>
-
Method Summary
Modifier and TypeMethodDescriptioncreateConstant(Object identifier) Creates a constant with the provided identifier.createLiteral(fr.lirmm.graphik.util.URI datatype, Object value) Creates a literal with the provided datatype and value.createLiteral(Object value) Creates a literal with an inferred datatype.createTerm(Term term) Creates a term equivalent to the provided one.createTerm(Object o, Term.Type type) Deprecated.createVariable(Object identifier) Creates a variable with the provided identifier.
-
Method Details
-
createTerm
-
createTerm
Deprecated.This method is deprecated since 1.3, usecreateVariable(Object),createConstant(Object)orcreateLiteral(Object)instead.- Parameters:
o- the underlying value or identifiertype- the term kind to create- Returns:
- a new Term.
-
createVariable
-
createConstant
-
createLiteral
-
createLiteral
-