FieldValueConvertorConstants.java :  » Development » ivatamasks » com » ivata » mask » field » Java Open Source

Java Open Source » Development » ivatamasks 
ivatamasks » com » ivata » mask » field » FieldValueConvertorConstants.java
/*
 * Copyright (c) 2001 - 2004 ivata limited.
 * All rights reserved.
 * -----------------------------------------------------------------------------
 * ivata masks may be redistributed under the GNU General Public
 * License as published by the Free Software Foundation;
 * version 2 of the License.
 *
 * These programs are free software; you can redistribute them and/or
 * modify them under the terms of the GNU General Public License
 * as published by the Free Software Foundation; version 2 of the License.
 *
 * These programs are distributed in the hope that they will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * See the GNU General Public License in the file LICENSE.txt for more
 * details.
 *
 * If you would like a copy of the GNU General Public License write to
 *
 * Free Software Foundation, Inc.
 * 59 Temple Place - Suite 330
 * Boston, MA 02111-1307, USA.
 *
 *
 * To arrange commercial support and licensing, contact ivata at
 *                  http://www.ivata.com/contact.jsp
 * -----------------------------------------------------------------------------
 * $Log: FieldValueConvertorConstants.java,v $
 * Revision 1.2  2005/10/11 18:55:29  colinmacleod
 * Fixed some checkstyle and javadoc issues.
 *
 * Revision 1.1  2005/04/11 12:27:02  colinmacleod
 * Added preliminary support for filters.
 * Added FieldValueConvertor factor interface
 * to split off value convertors for reuse.
 *
 * Revision 1.2  2005/01/07 08:08:24  colinmacleod
 * Moved up a version number.
 * Changed copyright notices to 2005.
 * Updated the documentation:
 *   - started working on multiproject:site docu.
 *   - changed the logo.
 * Added checkstyle and fixed LOADS of style issues.
 * Added separate thirdparty subproject.
 * Added struts (in web), util and webgui (in webtheme) from ivata op.
 *
 * Revision 1.1  2004/12/23 21:28:32  colinmacleod
 * Modifications to add ivata op compatibility.
 *
 colinmacleod Exp $
 * -----------------------------------------------------------------------------
 */
package com.ivata.mask.field;


/**
 * <p>
 * Stores constant/static values for {@link MaskRequestProcessor}and
 * {@link MaskTilesRequestProcessor}.
 * </p>
 *
 * @since ivata masks 0.3 (2004-12-23)
 * @author Colin MacLeod
 * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
 * @version $Revision: 1.2 $
 */
public final class FieldValueConvertorConstants {
    /**
     * <p>
     * Default pattern used to convert dates.
     * </p>
     */
    public static final String DEFAULT_DATE_PATTERN = "yyyy-MM-DD";
    /**
     * <p>
     * Default pattern used to convert numbers.
     * </p>
     */
    public static final String DEFAULT_NUMBER_PATTERN
                = "#####################.##########";
    /**
     * <p>
     * Request attribute name under which errors are stored.
     * </p>
     */
    public static final String ERROR_REQUEST_ATTRIBUTE = "MASK_ERRORS";
    /**
     * <p>
     * All value object parameter names are prefixed by this string.
     * </p>
     */
    public static final String PARAMETER_NAME_PREFIX = "valueObject.";
    /**
     * Private constructor enforces utility class behavior.
     */
    private FieldValueConvertorConstants() {
    }
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.