110111112113114115116117118119
final Node value = getValue(str); if (value != null) { Node node = value; if (Literal.class.isAssignableFrom(node.getClass())) { Literal literal = (Literal) value; return new LiteralImpl(literal.getLexicalForm()); } } return null; }
123124125126127128129130131132
final Node value = getValue(lang); if (value != null) { Node node = value; if (Literal.class.isAssignableFrom(node.getClass())) { Literal literal = (Literal) node; return new LiteralImpl(literal.getLanguage()); } } return null; }
133134135136137138139
@Override public Node visitBound(BoundOperator bound) { final Node value = getValue(bound); boolean contradiction = (value == null); return new LiteralImpl(Boolean.toString(contradiction), XSD.BOOLEAN); }