Renders this component as a JSON object, which can either be converted to a JSON string or inserted into the
parent JSON object. Although this method is marked a public, it is only intended to be used internally, and
is not part of the IDDMSComponent interface. Use the toJSON() method as the public way to get JSON output.
Renders this component as HTML or Text, with an optional prefix to nest it.
I consider this to be an internal method, that unfortunately must be marked as public to allow cross-package
access when generating output. Use toHTML() and toText() as the formal, public methods to generate output.
The base case tests against the name value and namespaceURI, as well as any child components classified as
"nested components" and any security attributes. Extending classes may require additional rules for equality.
This case automatically includes any nested components or security attributes.