com.google.template.soy.shared
Interface SoyCssRenamingMap


@ParametersAreNonnullByDefault
public interface SoyCssRenamingMap

An interface for a one-to-one string mapping function used to rename CSS selectors. CSS renaming can be used for minimization, obfuscation, normalization, etc.


Field Summary
static SoyCssRenamingMap IDENTITY
          A renaming map that maps every name to itself.
 
Method Summary
 String get(String key)
          Gets the string that should be substituted for key.
 

Field Detail

IDENTITY

static final SoyCssRenamingMap IDENTITY
A renaming map that maps every name to itself.

Method Detail

get

String get(String key)
Gets the string that should be substituted for key. The same value must be consistently returned for any particular key, and the returned value must not be returned for any other key value.

Parameters:
key - The text to be replaced, never null.
Returns:
The value to substitute for key.