Package com.google.common.css
Class IdentitySubstitutionMap
java.lang.Object
com.google.common.css.IdentitySubstitutionMap
- All Implemented Interfaces:
SubstitutionMap
IdentitySubstitutionMap is a trivial implementation of
SubstitutionMap that returns the key as the value for the requested
key.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.css.SubstitutionMap
SubstitutionMap.Initializable -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdentitySubstitutionMap
public IdentitySubstitutionMap()
-
-
Method Details
-
get
Description copied from interface:SubstitutionMapGets the string that should be substituted forkey. The same value must be consistently returned for any particularkey, and the returned value must not be returned for any otherkeyvalue.- Specified by:
getin interfaceSubstitutionMap- Parameters:
key- the text to be replaced (never null)- Returns:
- the value to substitute for
key
-