001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.kernel.template;
016    
017    import com.liferay.portal.kernel.util.StringPool;
018    
019    /**
020     * @author Tina Tian
021     */
022    public interface TemplateConstants {
023    
024            public static final String DEFAUT_ENCODING = StringPool.UTF8;
025    
026            /**
027             * @deprecated As of 6.2.0
028             */
029            public static final String JOURNAL_SEPARATOR = "_JOURNAL_CONTEXT_";
030    
031            public static final String LANG_TYPE_CSS = "css";
032    
033            public static final String LANG_TYPE_FTL = "ftl";
034    
035            public static final String LANG_TYPE_VM = "vm";
036    
037            public static final String LANG_TYPE_XSL = "xsl";
038    
039            public static final String SERVLET_SEPARATOR = "_SERVLET_CONTEXT_";
040    
041            public static final String TEMPLATE_ID = "template_id";
042    
043            public static final String TEMPLATE_RESOURCE_UUID_PREFIX =
044                    "TEMPLATE_RESOURCE_UUID";
045    
046            public static final String TEMPLATE_SEPARATOR = "_TEMPLATE_CONTEXT_";
047    
048            public static final String THEME_LOADER_SEPARATOR =
049                    "_THEME_LOADER_CONTEXT_";
050    
051            public static final String WRITER = "writer";
052    
053    }