Package org.apache.commons.jelly.tags.define

Examples of org.apache.commons.jelly.tags.define.DynamicTagLibrary


     */   
    protected Tag findDynamicTag(JellyContext context, StaticTag tag) throws Exception {
        // lets see if there's a tag library for this URI...
        TagLibrary taglib = context.getTagLibrary( tag.getUri() );
        if ( taglib instanceof DynamicTagLibrary ) {
            DynamicTagLibrary dynaLib = (DynamicTagLibrary) taglib;
            Tag newTag = dynaLib.createTag( tag.getLocalName() );
            if ( newTag != null ) {
                newTag.setParent( tag.getParent() );
                newTag.setBody( tag.getBody() );
                return newTag;
            }
View Full Code Here

TOP

Related Classes of org.apache.commons.jelly.tags.define.DynamicTagLibrary

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.