1/*2 * $Id: ListAttribute.java 673767 2008-07-03 19:10:56Z apetrelli $3 *4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122package org.apache.tiles.context;
2324import java.util.List;
2526/***27 * An attribute as a <code>List</code>.28 * This attribute associates a name with a list. The list can be found by the29 * 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 */36publicclassListAttributeextends org.apache.tiles.ListAttribute {
3738/***39 * Constructor.40 */41publicListAttribute() {
42super();
43 }
4445/***46 * Constructor.47 *48 * @param name Name.49 * @param value List.50 * @since 2.1.051 */52publicListAttribute(String name, List<Object> value) {
53super(value);
54 setName(name);
55 }
56 }