Accumulate a comment containing the specified text, after
converting that text to a String (if necessary) and performing
any escaping appropriate for the markup language being rendered.
This method goes through an array of possible attribute names,
evaluates if they have been set on the component, and writes
them out using the specified writer.
Accumulate an object, after converting it to a String (if necessary)
and after performing any escaping appropriate for the markup
language being rendered.