001    /**
002     * Copyright (c) 2000-present 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 BUNDLE_SEPARATOR = "_BUNDLE_CONTEXT_";
025    
026            public static final String CLASS_NAME_ID = "class_name_id";
027    
028            public static final String DEFAUT_ENCODING = StringPool.UTF8;
029    
030            /**
031             * @deprecated As of 6.2.0
032             */
033            @Deprecated
034            public static final String JOURNAL_SEPARATOR = "_JOURNAL_CONTEXT_";
035    
036            public static final String LANG_TYPE_CSS = "css";
037    
038            public static final String LANG_TYPE_FTL = "ftl";
039    
040            public static final String LANG_TYPE_SOY = "soy";
041    
042            public static final String LANG_TYPE_VM = "vm";
043    
044            public static final String LANG_TYPE_XSL = "xsl";
045    
046            public static final String NAMESPACE = "namespace";
047    
048            public static final String SERVLET_SEPARATOR = "_SERVLET_CONTEXT_";
049    
050            public static final String TEMPLATE_ID = "template_id";
051    
052            public static final String TEMPLATE_RESOURCE_UUID_PREFIX =
053                    "TEMPLATE_RESOURCE_UUID";
054    
055            public static final String TEMPLATE_SEPARATOR = "_TEMPLATE_CONTEXT_";
056    
057            public static final String THEME_LOADER_SEPARATOR =
058                    "_THEME_LOADER_CONTEXT_";
059    
060            public static final String WRITER = "writer";
061    
062    }