return getLocalizedResource(n);
} else if (n instanceof Literal) {
Literal l = (Literal) n;
GraphElementFactory elementFactory = _connector.getElementFactory();
if (l.getDatatypeURI() != null) {
return elementFactory.createLiteral(l.getLexicalForm(),
l.getDatatypeURI());
} else if (l.getLanguage() != null) {
return elementFactory.createLiteral(l.getLexicalForm(),
l.getLanguage());
} else {