Search in sources :

Example 1 with AssignmentBuilder

use of org.eclipse.winery.yaml.converter.yaml.support.AssignmentBuilder in project winery by eclipse.

the class Y2XConverter method init.

/**
 * Processes knowledge from TServiceTemplate needed to construct XML result
 */
private void init(org.eclipse.winery.model.tosca.yaml.TServiceTemplate node) {
    // no interface type for xml -> interface type information inserted into interface definitions
    convert(node.getInterfaceTypes());
    SchemaVisitor schemaVisitor = new SchemaVisitor();
    schemaVisitor.visit(node, path, outPath, namespace);
    this.assignmentBuilder = new AssignmentBuilder(schemaVisitor.getPropertyDefinition());
}
Also used : SchemaVisitor(org.eclipse.winery.yaml.converter.yaml.visitors.SchemaVisitor) AssignmentBuilder(org.eclipse.winery.yaml.converter.yaml.support.AssignmentBuilder)

Aggregations

AssignmentBuilder (org.eclipse.winery.yaml.converter.yaml.support.AssignmentBuilder)1 SchemaVisitor (org.eclipse.winery.yaml.converter.yaml.visitors.SchemaVisitor)1