Package org.apache.commons.jelly.impl

Examples of org.apache.commons.jelly.impl.BeanTagScript


        final String name,
        Attributes attrs
    ) throws Exception {

        if ( name.equals( "tagdef" ) ) {
            return new BeanTagScript(
                new TagFactory() {
                    public Tag createTag() {
                        return new TagDefTag( JeezTagLibrary.this );
                    }
                }
            );
        }
        if ( name.equals( "target" ) ) {
            return new BeanTagScript(
                new TagFactory() {
                    public Tag createTag() {
                        return new TargetTag();
                    }
                }
View Full Code Here


     * @return a new TagScript for any custom, statically defined tags, like 'fileScanner'
     */
    public TagScript createCustomTagScript(final String name, Attributes attributes) throws Exception {
        // custom Ant tags
        if ( name.equals("fileScanner") ) {     
            return new BeanTagScript(
                new TagFactory() {
                    public Tag createTag() throws Exception {
                        return new FileScannerTag(new FileScanner());
                    }
                }
View Full Code Here

TOP

Related Classes of org.apache.commons.jelly.impl.BeanTagScript

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.