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 CLASS_NAME_ID = "class_name_id";
025    
026            public static final String DEFAUT_ENCODING = StringPool.UTF8;
027    
028            /**
029             * @deprecated As of 6.2.0
030             */
031            public static final String JOURNAL_SEPARATOR = "_JOURNAL_CONTEXT_";
032    
033            public static final String LANG_TYPE_CSS = "css";
034    
035            public static final String LANG_TYPE_FTL = "ftl";
036    
037            public static final String LANG_TYPE_VM = "vm";
038    
039            public static final String LANG_TYPE_XSL = "xsl";
040    
041            public static final String SERVLET_SEPARATOR = "_SERVLET_CONTEXT_";
042    
043            public static final String TEMPLATE_ID = "template_id";
044    
045            public static final String TEMPLATE_RESOURCE_UUID_PREFIX =
046                    "TEMPLATE_RESOURCE_UUID";
047    
048            public static final String TEMPLATE_SEPARATOR = "_TEMPLATE_CONTEXT_";
049    
050            public static final String THEME_LOADER_SEPARATOR =
051                    "_THEME_LOADER_CONTEXT_";
052    
053            public static final String WRITER = "writer";
054    
055    }