} }  if (backgroundColor != null) { if (isValueReference(backgroundColor)) { ValueBinding vb = application.createValueBinding(backgroundColor);  component.setBackgroundColor(vb); } else { component.setBackgroundColor(backgroundColor);
	protected void setProperties(UIComponent uiComponent) {		if (LOG.isDebugEnabled()) {			LOG.debug("  foregroundColor='"+foregroundColor+"'");			LOG.debug("  backgroundColor='"+backgroundColor+"'");			LOG.debug("  text='"+text+"'");			LOG.debug("  expandedImageURL='"+expandedImageURL+"'");		}		super.setProperties(uiComponent);		if ((uiComponent instanceof ExpandableItemComponent)==false) {			throw new IllegalStateException("Component specified by tag is not instanceof of 'ExpandableItemComponent'.");		}		ExpandableItemComponent component = (ExpandableItemComponent) uiComponent;		FacesContext facesContext = getFacesContext();		Application application = facesContext.getApplication();		if (foregroundColor != null) {			if (isValueReference(foregroundColor)) {				ValueBinding vb = application.createValueBinding(foregroundColor);				component.setForegroundColor(vb);			} else {				component.setForegroundColor(foregroundColor);			}		}		if (backgroundColor != null) {			if (isValueReference(backgroundColor)) {				ValueBinding vb = application.createValueBinding(backgroundColor);				component.setBackgroundColor(vb);			} else {				component.setBackgroundColor(backgroundColor);			}		}		if (text != null) {			if (isValueReference(text)) {				ValueBinding vb = application.createValueBinding(text);				component.setText(vb);			} else {				component.setText(text);			}		}		if (expandedImageURL != null) {			if (isValueReference(expandedImageURL)) {				ValueBinding vb = application.createValueBinding(expandedImageURL);				component.setExpandedImageURL(vb);			} else {				component.setExpandedImageURL(expandedImageURL);			}		}	}