return;
}
ExpansionState expansionStateObj;
if (AbstractComponentTag.ALL_EXPANDED_MODE.equals(expansionState))
expansionStateObj = new AllNodesExpanded();
else if (ALL_COLLAPSED_MODE.equals(expansionState))
expansionStateObj = new AllNodesCollapsed();
else if (expansionState.startsWith(LEVELS_EXPANDED_MODE)) {
String remainder = expansionState.substring(LEVELS_EXPANDED_MODE.length());
remainder = remainder.trim();