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