KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cocoon > selection > SessionStateSelector


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.selection;
17
18
19 import org.apache.avalon.framework.configuration.Configuration;
20
21 /**
22  * This class generates source code to implement a selector that
23  * matches a string against an arbitrary session attribute.
24  *
25  * <p><b>Global and local configuration</b></p>
26  * <table border="1">
27  * <tr><td><code>org.apache.cocoon.SessionState</code></td><td>String identifying the session attribute.</td></tr>
28  * </table>
29  *
30  * @deprecated use SessionAttributeSelector instead
31  *
32  * @author <a HREF="mailto:haul@apache.org">Christian Haul</a>
33  * @author <a HREF="mailto:sylvain@apache.org">Sylvain Wallez</a>
34  * @version CVS $Id: SessionStateSelector.java 30932 2004-07-29 17:35:38Z vgritsenko $
35  */

36 public class SessionStateSelector extends SessionAttributeSelector {
37
38     public static final String JavaDoc SESSION_STATE_ATTRIBUTE = "org.apache.cocoon.SessionState";
39
40     public SessionStateSelector() {
41         this.defaultName = SESSION_STATE_ATTRIBUTE;
42     }
43
44     public void configure(Configuration config)
45     {
46         // ignore
47
}
48 }
49
Popular Tags