com.ivata.mask.web.format
Class FormatConstants

java.lang.Object
  extended bycom.ivata.mask.web.format.FormatConstants

public final class FormatConstants
extends java.lang.Object

Constants used to identify different text and HTML formats.

Since:
ivata masks 0.4 (2002-07-11)
Version:
$Revision: 1.3 $
Author:
Colin MacLeod colin.macleod@ivata.com

Field Summary
static int FORMAT_HTML
           Identifies text with HTML tags in input text-areas.
static int FORMAT_TEXT
           Identifies clear text in input text-areas.
 
Method Summary
static java.util.Collection getLabelValues()
           Get all of the format constants and their labels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT_HTML

public static final int FORMAT_HTML

Identifies text with HTML tags in input text-areas. This will sent to the page as it is.

See Also:
Constant Field Values

FORMAT_TEXT

public static final int FORMAT_TEXT

Identifies clear text in input text-areas. This will be parsed using HTMLFormatter with line break conversion.

See Also:
Constant Field Values
Method Detail

getLabelValues

public static java.util.Collection getLabelValues()

Get all of the format constants and their labels. This is useful for populating option tags in Struts .

Returns:
Collection of LabelValueBean instances.


Copyright © 2001-2005 ivata limited. All Rights Reserved.