org.openrdf.elmo
Interface LiteralManager<URI,Literal>
- All Known Implementing Classes:
- SesameLiteralManager
public interface LiteralManager<URI,Literal>
Converts between literal Java Objects and Strings and maps datatypes to
Classes.
- Author:
- James Leigh
setClassLoader
void setClassLoader(ClassLoader cl)
recordType
void recordType(Class<?> type,
String datatype)
getDatatype
URI getDatatype(Class<?> type)
- Looks up the datatype that should be used for the given Java class,
- Parameters:
type -
- Returns:
- Datatype that should.
getClass
Class<?> getClass(URI datatype)
getLiteral
Literal getLiteral(String value,
String language)
getLiteral
Literal getLiteral(Object object)
getObject
Object getObject(Literal literal)
isTypeOfLiteral
boolean isTypeOfLiteral(Class<?> type)
Copyright © 2004-2008 Aduna. All Rights Reserved.