}
private void enterCreateObject(String elementName)
{
ElementModelImpl elementModel = (ElementModelImpl) peekObject();
CreateObjectRule rule = new CreateObjectRule();
push(elementName, rule, STATE_NO_CONTENT);
checkAttributes();
rule.setClassName(getAttribute("class"));
elementModel.addRule(rule);
}