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

net.sourceforge.plantuml.definition.PSystemDefinitionFactory Maven / Gradle / Ivy

There is a newer version: 1.2025.0
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.definition;

import net.sourceforge.plantuml.command.PSystemBasicFactory;
import net.sourceforge.plantuml.core.DiagramType;
import net.sourceforge.plantuml.core.UmlSource;

public class PSystemDefinitionFactory extends PSystemBasicFactory {

	public PSystemDefinitionFactory() {
		super(DiagramType.DEFINITION);
	}

	@Override
	public PSystemDefinition initDiagram(UmlSource source, String startLine) {
		if (getDiagramType() == DiagramType.DEFINITION)
			return new PSystemDefinition(source, startLine);

		return null;
	}

	@Override
	public PSystemDefinition executeLine(UmlSource source, PSystemDefinition system, String line) {
		system.doCommandLine(line);
		return system;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy