static void createSupportingInfrastructure ( String apiName ) { elementType = getFullClassTypeName ( ELEMENT , apiName ) ; elementTypeDesc = getFullClassTypeNameDesc ( ELEMENT , apiName ) ; elementVisitorType = getFullClassTypeName ( ELEMENT_VISITOR , apiName ) ; elementVisitorTypeDesc = getFullClassTypeNameDesc ( ELEMENT_VISITOR , apiName ) ; textGroupType = getFullClassTypeName ( TEXT_GROUP , apiName ) ; customAttributeGroupType = getFullClassTypeName ( CUSTOM_ATTRIBUTE_GROUP , apiName ) ; textType = getFullClassTypeName ( TEXT , apiName ) ; textTypeDesc = getFullClassTypeNameDesc ( TEXT , apiName ) ; createElement ( apiName ) ; createTextGroup ( apiName ) ; createCustomAttributeGroup ( apiName ) ; createText ( apiName ) ; infrastructureVars . put ( ELEMENT , elementType ) ; infrastructureVars . put ( ELEMENT_VISITOR , elementVisitorType ) ; infrastructureVars . put ( TEXT_GROUP , textGroupType ) ; }
Creates all the classes that belong to the fluent interface infrastructure and can t be defined the same way as the classes present in the infrastructure package of this solution .