parameters.setTitle(getTitleForComponent(componentClass, componentAnnotation));
parameters.setResourceSuperType(getResourceSuperTypeForComponent(componentAnnotation));
parameters.setAdditionalProperties(getAdditionalPropertiesForComponent(componentAnnotation));
parameters.setClassName(componentClass.getName());
if (componentAnnotation.htmlTag().length > 0) {
List<XmlElement> containedElements = Lists.newArrayList();
containedElements.add(getHtmlTagForComponent(componentAnnotation));
parameters.setContainedElements(containedElements);