} else if (obj instanceof NSDictionary) {
encodeDictionaryWithXMLTag((NSDictionary) obj, baseTag);
} else if (obj instanceof EOEnterpriseObject) {
_encodeEO((EOEnterpriseObject) obj);
} else {
throw new WOXMLException("Unable to encode in XML objects of class " + className);
}
}
if (outputTags != _MappingModel.OUTPUT_NEITHER_TAG && (!isBaseType || outputTags != _MappingModel.OUTPUT_CLASS_TAG)) {
_buffer.append('<');
_buffer.append('/');