blob: 09352a94c6879147ceadb41f3a816a613b76a82a [file] [log] [blame]
/*
* Copyright 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.jelly.tags.bean;
import org.apache.commons.jelly.tags.bean.BeanTagLibrary;
/**
* Describes the Taglib.
* This could be created via Jelly script, or could load the mapping of
* tag names to bean classes from properties file etc but is implemented in Java
* code for simplicity
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @version 1.2
*/
public class MyBeanTagLibrary extends BeanTagLibrary {
public MyBeanTagLibrary() {
registerBean( "customer", Customer.class );
registerTag( "myContainer", MyContainerTag.class );
}
}