KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > forms > binding > BindingBuilderContext


1 /*
2  * Copyright 2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.cocoon.forms.binding;
17
18 import org.apache.cocoon.forms.binding.library.Library;
19
20 /**
21  * @version $Id: BindingBuilderContext.java 289538 2005-09-16 13:46:22Z sylvain $
22  */

23 public class BindingBuilderContext {
24
25     private Library localLibrary = null;
26     private Binding superBinding = null;
27     
28     public BindingBuilderContext(BindingBuilderContext other) {
29         this.localLibrary = other.localLibrary;
30         this.superBinding = other.superBinding;
31     }
32     public BindingBuilderContext() {
33         this.localLibrary = null;
34         this.superBinding = null;
35     }
36     
37     public Library getLocalLibrary() {
38         return localLibrary;
39     }
40     public void setLocalLibrary(Library lib) {
41         this.localLibrary = lib;
42     }
43     public Binding getSuperBinding() {
44         return superBinding;
45     }
46     public void setSuperBinding(Binding binding) {
47         this.superBinding = binding;
48     }
49 }
50
Popular Tags