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 LOCAL NAME function, which selects the local name of URIs.
10: *
11: * @author Arjohn Kampman
12: */
13: public class LocalName extends UnaryValueOperator {
14:
15: /*--------------*
16: * Constructors *
17: *--------------*/
18:
19: public LocalName() {
20: }
21:
22: public LocalName(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 LocalName clone() {
37: return (LocalName) super.clone();
38: }
39: }
|