KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > query > AsValueNode


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.jdo.query;
13
14 /**
15  * Not sure what this is for.
16  */

17 public class AsValueNode extends LeafNode {
18
19     public String JavaDoc value;
20
21     public AsValueNode(String JavaDoc value) {
22         this.value = value;
23     }
24
25     public Object JavaDoc accept(NodeVisitor visitor, Object JavaDoc[] results) {
26         return visitor.visitAsValueNode(this, results);
27     }
28
29     public Object JavaDoc arrive(NodeVisitor v, Object JavaDoc msg) {
30         return v.arriveAsValueNode(this, msg);
31     }
32 }
33
Popular Tags