public interface PersonalizationInfo
Modifier and Type | Field and Description |
---|---|
static String |
PERSONALIZATION_KEY |
Modifier and Type | Method and Description |
---|---|
void |
addMapping(String attributeName,
String replacementText)
This function adds a personalization mapping
|
Map<String,String> |
getAllMappings()
This function returns all attribute name and replacemenet text mappings.
|
String |
getMapping(String attributeName)
This function returns the mapping corresponding to an attribute
|
String |
getPrefixPattern()
This function returns the prefix to be used with replacement text.
|
String |
getSuffixPattern()
This function returns the suffix to be used with replacement text.
|
void |
removeMapping(String attributeName)
This function removes a personalization mapping
|
void |
setPrefixPattern(String prefixPattern)
This function sets the prefix to be used for the replacement text
|
void |
setSuffixPattern(String suffixPattern)
This function sets the suffix to be used with replacement text.
|
boolean |
usePrefix()
This function tells whether prefix has to be added to replacement text or not.
|
boolean |
useSuffix()
This function tells whether suffix has to be added to replacement text or not.
|
static final String PERSONALIZATION_KEY
void addMapping(String attributeName, String replacementText)
attributeName
- name of the attributereplacementText
- replacement string to be usedvoid removeMapping(String attributeName)
attributeName
- name of the attribute that needs to be removed.String getMapping(String attributeName)
attributeName
- attribute nameMap<String,String> getAllMappings()
String getPrefixPattern()
void setPrefixPattern(String prefixPattern)
prefixPattern
- The prefix.String getSuffixPattern()
void setSuffixPattern(String suffixPattern)
suffixPattern
- boolean usePrefix()
boolean useSuffix()
Copyright © 2010 - 2020 Adobe. All Rights Reserved