} else {
// Must be a literal
if (getValue().charAt(0) > '0' && getValue().charAt(0) < '9') {
if (getValue().contains(".")) {
// Consider it as a float
result = new Literal(getValue(),
RdfConstants.XML_SCHEMA_TYPE_FLOAT);
} else {
// Consider it as an integer
result = new Literal(getValue(),
RdfConstants.XML_SCHEMA_TYPE_INTEGER);
}
} else {
org.restlet.Context.getCurrentLogger().warning(
"Cannot identify this token value: " + getValue());