1 /*
2 * $Id: ListAttribute.java 673767 2008-07-03 19:10:56Z apetrelli $
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 */
21
22 package org.apache.tiles.context;
23
24 import java.util.List;
25
26 /***
27 * An attribute as a <code>List</code>.
28 * This attribute associates a name with a list. The list can be found by the
29 * property name.
30 * Elements in list are retrieved using List methods.
31 * This class is used to read configuration files.
32 *
33 * @version $Rev: 673767 $ $Date: 2008-07-03 21:10:56 +0200 (gio, 03 lug 2008) $
34 * @deprecated Use {@link org.apache.tiles.ListAttribute}.
35 */
36 public class ListAttribute extends org.apache.tiles.ListAttribute {
37
38 /***
39 * Constructor.
40 */
41 public ListAttribute() {
42 super();
43 }
44
45 /***
46 * Constructor.
47 *
48 * @param name Name.
49 * @param value List.
50 * @since 2.1.0
51 */
52 public ListAttribute(String name, List<Object> value) {
53 super(value);
54 setName(name);
55 }
56 }