<commit_before>/*
 * File   : $Source: /alkacon/cvs/opencms/src/org/opencms/jsp/layout/Attic/CmsTemplateContentListItem.java,v $
 * Date   : $Date: 2005/04/15 15:55:10 $
 * Version: $Revision: 1.2 $
 *
 * This library is part of OpenCms -
 * the Open Source Content Mananagement System
 *
 * Copyright (C) 2002 - 2005 Alkacon Software (http://www.alkacon.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * For further information about Alkacon Software, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
package org.opencms.jsp.layout;

import org.opencms.file.types.I_CmsResourceType;
import org.opencms.i18n.CmsMessages;
import org.opencms.jsp.CmsJspActionElement;
import org.opencms.main.OpenCms;
import org.opencms.util.CmsMacroResolver;
import org.opencms.util.CmsStringUtil;
import org.opencms.workplace.CmsWorkplaceMessages;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.jsp.JspException;

/**
 * Holds information of a single XMLContent list item, either for the page side elements or the center area.<p>
 * 
 * Use the newInstance() method with correct arguments to create a fully configured item object for list generation.<p>
 * 
 * @author <NAME> (<EMAIL>)
 * @version $Revision: 1.2 $
 */
public class CmsTemplateContentListItem {
    
    /** The display area of the list: center. */
    public static final String DISPLAYAREA_CENTER = "center";
    /** The display area of the list: left. */
    public static final String DISPLAYAREA_LEFT = "right";
    /** The display area of the list: right. */
    public static final String DISPLAYAREA_RIGHT = "right";
    
    /** The possible display areas for the template. */
    public static final String[] DISPLAYAREAS = {DISPLAYAREA_CENTER, DISPLAYAREA_LEFT, DISPLAYAREA_RIGHT};
    
    /** The name of the list variation: long. */
    public static final String LISTVARIATION_LONG = "long";
    /** The name of the list variation: short. */
    public static final String LISTVARIATION_SHORT = "short";
    
    /** The possible list variations for a content type. */
    public static final String[] LISTVARIATIONS = {"", "." + LISTVARIATION_LONG, "." + LISTVARIATION_SHORT};
    <commit_msg>fixed error in constant value<commit_after>/*
 * File   : $Source: /alkacon/cvs/opencms/src/org/opencms/jsp/layout/Attic/CmsTemplateContentListItem.java,v $
 * Date   : $Date: 2005/04/19 08:59:04 $
 * Version: $Revision: 1.3 $
 *
 * This library is part of OpenCms -
 * the Open Source Content Mananagement System
 *
 * Copyright (C) 2002 - 2005 Alkacon Software (http://www.alkacon.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * For further information about Alkacon Software, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
package org.opencms.jsp.layout;

import org.opencms.file.types.I_CmsResourceType;
import org.opencms.i18n.CmsMessages;
import org.opencms.jsp.CmsJspActionElement;
import org.opencms.main.OpenCms;
import org.opencms.util.CmsMacroResolver;
import org.opencms.util.CmsStringUtil;
import org.opencms.workplace.CmsWorkplaceMessages;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.jsp.JspException;

/**
 * Holds information of a single XMLContent list item, either for the page side elements or the center area.<p>
 * 
 * Use the newInstance() method with correct arguments to create a fully configured item object for list generation.<p>
 * 
 * @author <NAME> (<EMAIL>)
 * @version $Revision: 1.3 $
 */
public class CmsTemplateContentListItem {
    
    /** The display area of the list: center. */
    public static final String DISPLAYAREA_CENTER = "center";
    /** The display area of the list: left. */
    public static final String DISPLAYAREA_LEFT = "left";
    /** The display area of the list: right. */
    public static final String DISPLAYAREA_RIGHT = "right";
    
    /** The possible display areas for the template. */
    public static final String[] DISPLAYAREAS = {DISPLAYAREA_CENTER, DISPLAYAREA_LEFT, DISPLAYAREA_RIGHT};
    
    /** The name of the list variation: long. */
    public static final String LISTVARIATION_LONG = "long";
    /** The name of the list variation: short. */
    public static final String LISTVARIATION_SHORT = "short";
    
    /** The possible list variations for a content type. */
    public static final String[] LISTVARIATIONS = {"", "." + LISTVARIATION_LONG, "." + LISTVARIATION_SHORT};
    
{'fraction_non_alphanumeric': 0.09308466743687077, 'fraction_numerical': 0.014523848819937284, 'mean_word_length': 3.760408483896308, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6269702', 'n_tokens_mistral': 1839, 'n_tokens_neox': 1752, 'n_words': 668}