//retrive list of attributes of clock content element which are
// within the timer element.
List contentAttributes = digitalClockAttributes.getContentAttributes();
// create ClockContentHandler to merge contents
ClockContextHandler clockContextHandler = new ClockContextHandler();
clockContextHandler.mergeContentAttributes(contentAttributes);
String[] digits = clockContextHandler.getClockContentIds("digits");
String[] days = clockContextHandler.getClockContentIds("days");
String[] months = clockContextHandler.getClockContentIds("months");
String[] ampm = clockContextHandler.getClockContentIds("ampm");
String[] separators = clockContextHandler.getClockContentIds("separators");
Styles styles = digitalClockAttributes.getStyles();
StylesExtractor stylesExtractor = createStylesExtractor(
protocol, styles);