{
writeShort(out, ((Short)attrValue).shortValue());
}
else if (converter.isConvertible(attrValue, Number.class))
{
Number num = (Number) converter.convert(attrValue, Number.class);
writeDouble(out, num.doubleValue());
}
else if (Map.class.isAssignableFrom(valueClass))
{
writeMap(out, ((Map)attrValue), escapeXML);