org.kuali.rice.krad.datadictionary.mask
Class MaskFormatterLiteral

java.lang.Object
  extended by 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

Field Summary
protected  String literal
           
 
Constructor Summary
MaskFormatterLiteral()
           
 
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
 

Field Detail

literal

protected String literal
Constructor Detail

MaskFormatterLiteral

public MaskFormatterLiteral()
Method Detail

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.