001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package lucee.runtime.tag;
020
021import lucee.runtime.exp.ApplicationException;
022import lucee.runtime.exp.ExpressionException;
023import lucee.runtime.ext.tag.TagImpl;
024
025/**
026 * this tag is not used, it will ranslation over a evaluator
027 * 
028 * 
029* Imports a jsp Tag Library or a Custom Tag Directory
030*
031*
032*
033**/
034public final class ImportTag extends TagImpl {
035
036        private String path;
037
038        @Override
039        public void release() {
040                path=null;
041                super.release();
042        }
043
044        /**
045         * @param prefix
046         */
047        public void setPrefix(String prefix)    {}
048        
049        public void setPath(String path)        {
050                this.path=path;
051                
052        }
053
054        /**
055         * @param taglib
056         */
057        public void setTaglib(String taglib)    {}
058
059
060        @Override
061        public int doStartTag() throws ExpressionException, ApplicationException {
062                return SKIP_BODY;
063        }
064
065        @Override
066        public int doEndTag()   {
067                return EVAL_PAGE;
068        }
069}