// Get label
String label = new String(data, 6 + langLength, data.length - 6 - langLength, "UTF-8");
if (datatype != null) {
return new NativeLiteral(revision, label, datatype, id);
}
else if (lang != null) {
return new NativeLiteral(revision, label, lang, id);
}
else {
return new NativeLiteral(revision, label, id);
}
}