Package org.openrdf.query.algebra

Examples of org.openrdf.query.algebra.ValueConstant


  @Override
  public ValueConstant visit(ASTIRI node, Object data)
    throws VisitorException
  {
    return new ValueConstant(valueFactory.createURI(node.getValue()));
  }
View Full Code Here


    }
    else {
      literal = valueFactory.createLiteral(label);
    }

    return new ValueConstant(literal);
  }
View Full Code Here

  @Override
  public ValueConstant visit(ASTNumericLiteral node, Object data)
    throws VisitorException
  {
    Literal literal = valueFactory.createLiteral(node.getValue(), node.getDatatype());
    return new ValueConstant(literal);
  }
View Full Code Here

  @Override
  public ValueConstant visit(ASTTrue node, Object data)
    throws VisitorException
  {
    return new ValueConstant(valueFactory.createLiteral(true));
  }
View Full Code Here

  @Override
  public ValueConstant visit(ASTFalse node, Object data)
    throws VisitorException
  {
    return new ValueConstant(valueFactory.createLiteral(false));
  }
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.ValueConstant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.