return this._root;
}
public void startDocument(InputSource source) throws CSSException {
if (this._nodeStack.empty()) {
CSSStyleSheetImpl ss = new CSSStyleSheetImpl();
CSSOMParser.this.setParentStyleSheet(ss);
ss.setOwnerNode(this.getOwnerNode());
ss.setBaseUri(source.getURI());
ss.setHref(this.getHref());
ss.setMediaText(source.getMedia());
ss.setTitle(source.getTitle());
// Create the rule list
CSSRuleListImpl rules = new CSSRuleListImpl();
ss.setCssRules(rules);
this._nodeStack.push(ss);
this._nodeStack.push(rules);
} else {
// Error
}