Skip navigation links
A C E H M P S T U W _ 

A

addSerializableClass(Class<?>) - Method in class craterdog.smart.SmartObject
This protected method allows a subclass to add to the mappers a class type that can be serialized using its toString().
addSerializableClass(Class<?>, Class<?>) - Method in class craterdog.smart.SmartObject
This protected method allows a subclass to add to the mappers a class type that can be serialized using mixin class.
addSerializableClass(Module) - Method in class craterdog.smart.SmartObject
This protected method allows a subclass to add to the mappers a Jackson module that can be used to serialize and deserialize instances of the subclass.

C

Censor - Class in craterdog.smart
This class performs the masking function on a specified string value using a specified mask.
Censor() - Constructor for class craterdog.smart.Censor
This constructor creates a new Censor object that uses the default 'X' character for masking.
Censor(char) - Constructor for class craterdog.smart.Censor
This constructor creates a new Censor object that uses the specified character for masking.
CensorshipModule - Class in craterdog.smart
This class is a Jackson module that can be added to an object mapper to handle the masking of sensitive attributes during string serialization.
CensorshipModule() - Constructor for class craterdog.smart.CensorshipModule
The default constructor adds a censorship serializer that has no mask defined.
CensorshipSerializer - Class in craterdog.smart
This class handles the masking of sensitive attributes during string serialization.
CensorshipSerializer() - Constructor for class craterdog.smart.CensorshipSerializer
The default constructor creates a serializer with no mask.
CensorshipSerializer(String, char) - Constructor for class craterdog.smart.CensorshipSerializer
This constructor creates a serializer with the specified mask and masking character.
compareTo(S) - Method in class craterdog.smart.SmartObject
 
copy() - Method in class craterdog.smart.SmartObject
This method should work for all objects.
craterdog.smart - package craterdog.smart
 
createContextual(SerializerProvider, BeanProperty) - Method in class craterdog.smart.CensorshipSerializer
 

E

equals(Object) - Method in class craterdog.smart.SmartObject
This method determines whether or not two objects are equal.

H

hashCode() - Method in class craterdog.smart.SmartObject
This method returns a hash code for the object based on its string form.

M

MASK_CREDIT_CARD_NUMBER - Static variable in annotation type craterdog.smart.Sensitive
Mask for a credit card number: dddd-XXXX-XXXX-dddd
MASK_EMAIL_ADDRESS - Static variable in annotation type craterdog.smart.Sensitive
Mask for a email address.
MASK_PASSWORD - Static variable in annotation type craterdog.smart.Sensitive
Mask for a password or alphanumeric pin with various lengths (min length = 4, max length = 100): mask all characters
MASK_PHONE_NUMBER - Static variable in annotation type craterdog.smart.Sensitive
Mask for a phone number: XXX-XXX-dddd leave the last four digits unmasked
MASK_SSN - Static variable in annotation type craterdog.smart.Sensitive
MASK for a SSN: XXX-XX-dddd leave the last four digits unmasked

P

process(String, String) - Method in class craterdog.smart.Censor
This method masks the given string according to the groups specified in the specified mask.

S

Sensitive - Annotation Type in craterdog.smart
This annotation is used to mark string attributes that contain sensitive information and should be masked when output to a log file, and encrypted when stored in a database.
serialize(String, JsonGenerator, SerializerProvider) - Method in class craterdog.smart.CensorshipSerializer
 
SmartObject<S extends SmartObject<S>> - Class in craterdog.smart
This abstract class provides implementations for the standard methods defined in the Object class.
SmartObject() - Constructor for class craterdog.smart.SmartObject
 
SmartObjectMapper - Class in craterdog.smart
This object mapper handles the conversion of a smart object to and from a JSON string.
SmartObjectMapper(Module...) - Constructor for class craterdog.smart.SmartObjectMapper
This constructor creates a new smart object mapper for the specified modules.

T

toDouble() - Method in interface craterdog.smart.UseToDoubleAsValueMixIn
This method returns a double version of the object.
toExposedString() - Method in class craterdog.smart.SmartObject
This method behaves similarly to the toString() method except that it does not perform any censorship of sensitive attributes.
toInteger() - Method in interface craterdog.smart.UseToIntegerAsValueMixIn
This method returns an integer version of the object.
toString() - Method in class craterdog.smart.SmartObject
This method returns a string containing a structured, human readable version of the object.
toString(String) - Method in class craterdog.smart.SmartObject
 
toString() - Method in interface craterdog.smart.UseToStringAsValueMixIn
This method returns a string version of the object.

U

UseToDoubleAsValueMixIn - Interface in craterdog.smart
This mixin interface tells the Jackson parser to use the toDouble() method to generate the value of an attribute.
UseToIntegerAsValueMixIn - Interface in craterdog.smart
This mixin interface tells the Jackson parser to use the toInteger() method to generate the value of an attribute.
UseToStringAsValueMixIn - Interface in craterdog.smart
This mixin interface tells the Jackson parser to use the toString() method to generate the value of an attribute.

W

writeValueAsString(Object) - Method in class craterdog.smart.SmartObjectMapper
 
writeValueAsString(Object, String) - Method in class craterdog.smart.SmartObjectMapper
This method behaves similarly to the writeValueAsString(Object value) method except that it includes an indentation prefix that will be prepended to each line of the resulting string (except the first line).

_

_defaultPrettyPrinter() - Method in class craterdog.smart.SmartObjectMapper
This method overrides the same method in the super class and returns a better pretty printer implementation.
_defaultPrettyPrinter(String) - Method in class craterdog.smart.SmartObjectMapper
This method behaves similarly to the _defaultPrettyPrinter() method except that it includes an indentation prefix that will be prepended to each line of the resulting string (except the first line).
A C E H M P S T U W _ 
Skip navigation links

Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.