object instanceof URIImpl)
return new URINode(object.toString());
else if (object instanceof DatatypeLiteral)
{
DatatypeLiteral dl = (DatatypeLiteral)object;
return new LiteralNode(JavaXSD.xsd2java(dl.getValue(),dl.getDatatype().toString()));
}
else if (object instanceof String || object instanceof LanguageTagLiteral || object instanceof Literal)
{
return new LiteralNode(object.toString());
}
else
return null;
}