protected HtmlHeaderContainer newHtmlHeaderContainer(String id, ComponentTag tag)
{
HtmlHeaderContainer htmlHeaderContainer;
if (HtmlHeaderResolver.HEADER_ITEMS.equalsIgnoreCase(tag.getName()))
{
htmlHeaderContainer = new HtmlHeaderItemsContainer(id);
}
else
{
htmlHeaderContainer = newHtmlHeaderContainer(id);
}