ValueExpression ve = createValueExpression(context, "expansionState", expansionState);
component.setValueExpression("expansionState", ve);
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)) {