org.kuali.rice.krad.datadictionary.mask
Class MaskFormatterLiteral
java.lang.Object
  
org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral
- All Implemented Interfaces: 
 - Serializable, MaskFormatter
 
public class MaskFormatterLiteral
- extends Object
- implements MaskFormatter
  
The maskLiteral element is used to completely hide the field value for
 unauthorized users. The specified literal will be shown instead of the field
 value.
- Author:
 
  - Kuali Rice Team (rice.collab@kuali.org)
 
- See Also:
 - Serialized Form
 
 
 
| 
Method Summary | 
 String | 
getLiteral()
 
          Gets the literalString attribute. | 
 String | 
maskValue(Object value)
 
          Takes in the real data value and returns a masked string. | 
 void | 
setLiteral(String literal)
 
          Specify the string that will be shown instead of the actual value when masked. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
literal
protected String literal
MaskFormatterLiteral
public MaskFormatterLiteral()
maskValue
public String maskValue(Object value)
- Description copied from interface: 
MaskFormatter 
- Takes in the real data value and returns a masked string.
- Specified by:
 maskValue in interface MaskFormatter
 
- Parameters:
 value - - data value
- Returns:
 - String - masked value
 
 
 
getLiteral
public String getLiteral()
- Gets the literalString attribute.
 
- Returns:
 - Returns the literal String.
 
 
 
setLiteral
public void setLiteral(String literal)
- Specify the string that will be shown instead of the actual value when masked.
 
 
 
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.