KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > rdql > Environment


1 /*
2  * (c) Copyright 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
3  * [See end of file]
4  */

5
6
7 /** Old name for ResultBindingImpl - for compatibility only
8  * @author Andy Seaborne
9  * @version $Id: Environment.java,v 1.7 2005/02/21 12:15:20 andy_seaborne Exp $
10  */

11
12 package com.hp.hpl.jena.rdql;
13
14 import com.hp.hpl.jena.rdf.model.* ;
15
16 public class Environment extends ResultBindingImpl
17 {
18    /**
19     * @deprecated Renamed as {@link ResultBindingImpl ResultBindingImpl}
20     */

21     public Environment() { super() ; }
22     
23    /**
24     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
25     */

26     public int add(String JavaDoc varName, Value value)
27     {
28         return super.add(varName, value) ;
29     }
30
31    /**
32     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
33     */

34     public int add(String JavaDoc varName, RDFNode node)
35     {
36         return super.add(varName, node) ;
37     }
38
39     
40    /**
41     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
42     */

43     public ResultBindingIterator iterator()
44     {
45         return super.iterator() ;
46     }
47
48    /**
49     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
50     */

51     public Object JavaDoc get(String JavaDoc varName)
52     {
53         return super.get(varName) ;
54     }
55
56 // /**
57
// * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
58
// */
59
// public Value getValue(String varName)
60
// {
61
// return super.getValue(varName) ;
62
// }
63

64    /**
65     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
66     */

67     public int size()
68     {
69         return super.size() ;
70     }
71
72    /** Check for multiple bindings of the same variable.
73     * @deprecated This class has been renamed as {@link ResultBindingImpl ResultBindingImpl}
74     */

75
76     public void check()
77     {
78         super.check() ;
79     }
80 }
81
82 /*
83  * (c) Copyright 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
84  * All rights reserved.
85  *
86  * Redistribution and use in source and binary forms, with or without
87  * modification, are permitted provided that the following conditions
88  * are met:
89  * 1. Redistributions of source code must retain the above copyright
90  * notice, this list of conditions and the following disclaimer.
91  * 2. Redistributions in binary form must reproduce the above copyright
92  * notice, this list of conditions and the following disclaimer in the
93  * documentation and/or other materials provided with the distribution.
94  * 3. The name of the author may not be used to endorse or promote products
95  * derived from this software without specific prior written permission.
96  *
97  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
98  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
99  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
100  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
101  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
102  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
103  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
104  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
105  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
106  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
107  */

108
Popular Tags