org.pentaho.platform.plugin.action.pentahometadata
Class ActionDefinitionEncoder
java.lang.Object
org.pentaho.platform.plugin.action.pentahometadata.ActionDefinitionEncoder
public class ActionDefinitionEncoder
- extends java.lang.Object
This class was created to solve the following jira case.
PDB-1122 Space in the filter name causes an XPATH error in charting.
http://jira.pentaho.com/browse/PDB-1122
When creating charts on Dashboards with parameters using blank spaces the ActionSequence DOM
generation was failing due to those parameters with blank spaces getting used to create xml elements.
Look for references to this class to see where those blank spaces are encoded/decoded to solve this issue.
- Author:
- Ezequiel Cuellar
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLANK_SPACE_STR_REPLACEMENT
public static final java.lang.String BLANK_SPACE_STR_REPLACEMENT
- See Also:
- Constant Field Values
ActionDefinitionEncoder
public ActionDefinitionEncoder()
encodeBlankSpaces
public static java.lang.String encodeBlankSpaces(java.lang.String input)
decodeBlankSpaces
public static java.lang.String decodeBlankSpaces(java.lang.String input)