(prefix != Constants.EMPTYSTRING)) {
(prefix == Constants.EMPTYSTRING)) {
    public void translate(ClassGenerator classGen, MethodGenerator methodGen) {	final ConstantPoolGen cpg = classGen.getConstantPool();	final InstructionList il = methodGen.getInstructionList();	// Compile code to emit element start tag	il.append(methodGen.loadHandler());	il.append(new PUSH(cpg, _name));	il.append(DUP2); // duplicate these 2 args for endElement	il.append(methodGen.startElement());	// Output all attributes	if (_attributeElements != null) {	    final int count = _attributeElements.size();	    for (int i = 0; i < count; i++) {		SyntaxTreeNode node = 		    (SyntaxTreeNode)_attributeElements.elementAt(i);		node.translate(classGen, methodGen);	    }	}	// Compile code to emit namespace attributes	if (_accessedPrefixes != null) {	    Enumeration e = _accessedPrefixes.keys();	    while (e.hasMoreElements()) {		final String prefix = (String)e.nextElement();		final String uri = (String)_accessedPrefixes.get(prefix);		if ((uri != Constants.EMPTYSTRING) ||		    (prefix != Constants.EMPTYSTRING)) {		    il.append(methodGen.loadHandler());		    il.append(new PUSH(cpg,prefix));		    il.append(new PUSH(cpg,uri));		    il.append(methodGen.namespace());		}	    }	}		// Compile code to emit attributes and child elements	translateContents(classGen, methodGen);	// Compile code to emit element end tag	il.append(methodGen.endElement());    }