// Get the depth after pushing style sheet.
int depth = styleSheetStack.depth();
// Create a state container.
StyleSheetInternal internalStyleSheet = (StyleSheetInternal) styleSheet;
// Create a list of EngineStyler wrappers around the style sheets
// Styler objects.
StylerList deltaEngineStylerList = createEngineStylerList(
internalStyleSheet, depth);