CMS-3082 Introduce TextComponent in Java
Moved enum PageComponent.Type to PageComponentType