01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.algebra;
07:
08: /**
09: * The LANG function, as defined in <a
10: * href="http://www.w3.org/TR/rdf-sparql-query/#func-lang">SPARQL Query Language
11: * for RDF</a>.
12: *
13: * @author Arjohn Kampman
14: */
15: public class Lang extends UnaryValueOperator {
16:
17: /*--------------*
18: * Constructors *
19: *--------------*/
20:
21: public Lang() {
22: }
23:
24: public Lang(ValueExpr arg) {
25: super (arg);
26: }
27:
28: /*---------*
29: * Methods *
30: *---------*/
31:
32: public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
33: throws X {
34: visitor.meet(this );
35: }
36:
37: @Override
38: public Lang clone() {
39: return (Lang) super.clone();
40: }
41: }
|