headParsed = true;
if (null != _styles) {
for (Iterator iter = _styles.iterator(); iter.hasNext();) {
String style = (String) iter.next();
QName element = new QName(null, "link", "link", null);
XMLAttributes attrs = new XMLAttributesImpl();
attrs.addAttribute(new QName(null, "href", "href", null),
"CDATA", style);
attrs.addAttribute(new QName(null, "type", "type", null),
"CDATA", "text/css");
attrs.addAttribute(new QName(null, "rel", "rel", null),
"CDATA", "stylesheet");
Augmentations augs = new HTMLAugmentations();
super.emptyElement(element, attrs, augs);
}
}
if (null != _scripts) {
for (Iterator iter = _scripts.iterator(); iter.hasNext();) {
String script = (String) iter.next();
QName element = new QName(null, "script", "script", null);
XMLAttributes attrs = new XMLAttributesImpl();
attrs.addAttribute(new QName(null, "src", "src", null),
"CDATA", script);
attrs.addAttribute(new QName(null, "type", "type", null),
"CDATA", "text/javascript");
Augmentations augs = new HTMLAugmentations();
super.startElement(element, attrs, augs);
super.endElement(element, augs);
}