All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sbellus.fitnesse.plantuml.PlantumlSymbol Maven / Gradle / Ivy

The newest version!
package com.github.sbellus.fitnesse.plantuml;


import java.util.Properties;

import com.github.sbellus.fitnesse.plantuml.graphics.GraphicsSymbol;

import fitnesse.wikitext.parser.SymbolType;

/**
 * Generates picture from plantuml source.
 */
public class PlantumlSymbol {
    private GraphicsSymbol symbol;
    private PlantumlConvertor convertor;

    public static SymbolType make(Properties properties) {
        return new PlantumlSymbol(properties).symbol;
    }
    
    public PlantumlSymbol(Properties properties) {
        convertor = new PlantumlConvertor(properties.getProperty("defaultStyle"));
        symbol = new GraphicsSymbol("uml", convertor);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy