KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > components > modules > input > DefaultsMetaModule


1 /*
2  * Copyright 1999-2004 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.components.modules.input;
17
18
19 import java.util.Iterator JavaDoc;
20 import java.util.Map JavaDoc;
21
22 import org.apache.avalon.framework.configuration.Configurable;
23 import org.apache.avalon.framework.configuration.Configuration;
24 import org.apache.avalon.framework.configuration.ConfigurationException;
25 import org.apache.avalon.framework.thread.ThreadSafe;
26
27 /**
28  * Old name for {@link DefaultsModule}.
29  * @deprecated Use DefaultsModule instead; this is not a 'meta' module and is
30  * thus misnamed.
31  * @version CVS $Id: DefaultsMetaModule.java 30932 2004-07-29 17:35:38Z vgritsenko $
32  */

33
34 /* Deprecated 2003-03-19. Suggest we keep this class for compat with 2.0.x
35  * until at least v2.2 (JT) */

36
37 public class DefaultsMetaModule extends DefaultsModule
38     implements InputModule, Configurable, ThreadSafe {
39
40     public void configure(Configuration config) throws ConfigurationException {
41         super.configure( config );
42     }
43
44     public Object JavaDoc[] getAttributeValues( String JavaDoc name, Configuration modeConf, Map JavaDoc objectModel )
45         throws ConfigurationException {
46         return super.getAttributeValues( name, modeConf, objectModel );
47     }
48
49     public Iterator JavaDoc getAttributeNames( Configuration modeConf, Map JavaDoc objectModel )
50         throws ConfigurationException {
51         return super.getAttributeNames( modeConf, objectModel );
52      }
53
54     public Object JavaDoc getAttribute( String JavaDoc name, Configuration modeConf, Map JavaDoc objectModel )
55         throws ConfigurationException {
56         return super.getAttribute( name, modeConf, objectModel );
57     }
58 }
59
Popular Tags