public class Mask extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected MaskFormatter |
maskFormatter |
protected Class<? extends MaskFormatter> |
maskFormatterClass |
Constructor and Description |
---|
Mask() |
Modifier and Type | Method and Description |
---|---|
MaskFormatter |
getMaskFormatter()
Gets the maskFormatter attribute.
|
Class<? extends MaskFormatter> |
getMaskFormatterClass()
Gets the maskFormatterClass attribute.
|
String |
maskValue(Object value)
Masks a data value with the configured maskFormatter;
|
void |
setMaskFormatter(MaskFormatter maskFormatter) |
void |
setMaskFormatterClass(Class<? extends MaskFormatter> maskFormatterClass) |
protected MaskFormatter maskFormatter
protected Class<? extends MaskFormatter> maskFormatterClass
public Mask()
public String maskValue(Object value)
value
- of the objectpublic MaskFormatter getMaskFormatter()
public void setMaskFormatter(MaskFormatter maskFormatter)
maskFormatter
- instance to be used for masking field values.public Class<? extends MaskFormatter> getMaskFormatterClass()
public void setMaskFormatterClass(Class<? extends MaskFormatter> maskFormatterClass)
maskFormatterClass
- element is used when a custom masking
algorithm is desired. This element specifies the name of a
class that will perform the masking for unauthorized users.Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.