protected final void writeClassIfDifferent(final XmlWriter writer, String defaultClassName) {
    if (!getComponentClassName().equals(defaultClassName)) {
      writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_CLASS, getComponentClass().getName());
    }
  }
protected final void writeClassIfDifferent(final XmlWriter writer, String defaultClassName)