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 NAMESPACE function, which selects the namespace of URIs.
10: *
11: * @author Arjohn Kampman
12: */
13: public class Namespace extends UnaryValueOperator {
14:
15: /*--------------*
16: * Constructors *
17: *--------------*/
18:
19: public Namespace() {
20: }
21:
22: public Namespace(ValueExpr arg) {
23: super (arg);
24: }
25:
26: /*---------*
27: * Methods *
28: *---------*/
29:
30: public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
31: throws X {
32: visitor.meet(this );
33: }
34:
35: @Override
36: public Namespace clone() {
37: return (Namespace) super.clone();
38: }
39: }
|