// Renderer Attributes Next...
//
AttributeBean[] attributes = renderer.getAttributes();
AttributeBean attribute;
for (int i = 0, len = attributes.length; i < len; i++) {
if (null == (attribute = attributes[i])) {
continue;
}
if (!attribute.isTagAttribute()) {
continue;
}
if (attributeShouldBeExcluded(renderer,
attribute.getAttributeName())) {
continue;
}
writer.startElement("attribute");
writer.startElement("name");
writer.writeText(attribute.getAttributeName());
writer.closeElement();
writer.startElement("required");
writer.writeText(attribute.isRequired() ?
Boolean.TRUE.toString() :
Boolean.FALSE.toString());
writer.closeElement();
writer.startElement("rtexprvalue");
writer.writeText(getRtexprvalue(tagName,
attribute.getAttributeName()));
writer.closeElement();
description = attribute.getDescription("");
if (description != null) {
String descriptionText =
description.getDescription().trim();
if (descriptionText != null) {